aspose file tools*
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
Author

Filters and ErrorPages

Nils Tegtmeier
Greenhorn

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
Nils
 
wood burning stoves
 
subject: Filters and ErrorPages