This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
 
subject: Filters and ErrorPages
 
Similar Threads
Exception Handling - using an error page
Interrupting a filter
@PostConstruct exception handling
filter in web.xml
Filter not triggerring for applications outside webapps