This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Filters and ErrorPages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Filters and ErrorPages" Watch "Filters and ErrorPages" New topic

Filters and ErrorPages

Nils Tegtmeier

Joined: May 06, 2002
Posts: 1
Hi there,
I have defined a response filter for my web app (to uniformly add some information to all responses) and an error page for ServletExceptions which points to another servlet dedicated to handling exceptions.
When an exception occurs, the response generated by the ErrorHandlerServlet does not get filtered, although I have defined a <filter-mapping> for the ErrorHandlerServlet.
Is error handling no subject to filtering by specification (haven't found anything on this yet)? Have I forgotten something?
Any hint appreciated
I agree. Here's the link:
subject: Filters and ErrorPages
jQuery in Action, 3rd edition