File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Filters and ErrorPages
 
Similar Threads
Interrupting a filter
Filter not triggerring for applications outside webapps
@PostConstruct exception handling
filter in web.xml
Exception Handling - using an error page