Category Archives: java

Filters don’t fire when bouncing off web.xml for error handling

Here’s a nice little gotcha for ya!

A fairly common pattern is to use a filter that wraps the (Http)ServletRequest and (Http)ServletResponse in an app-specific wrapper; this can be used to hold user credentials and state etc. In essence it is:
Read the rest of this entry

Follow

Get every new post delivered to your Inbox.

Join 126 other followers