Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filters and ErrorPages

 
Nils Tegtmeier
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic