"Andrew Feller" <[email protected]> wrote in message news:c58792ad.5de8%[email protected]... > PROBLEM > Tomcat is executing a Filter before the registered ServletRequestListener > > ENVIRONMENT > Tomcat 6.0.18, Windows Vista, JDK 1.6.0_10 > > CONTEXT > We have a filter setup to intercept forwards. When an unauthenticated user > comes in, Tomcat forwards them to our login servlet. The filter intercepts > this forward, however the request listener has not been executed. > > EXPECTED BEHAVIOR > It seems like the ServletRequestListener should have been executed prior > to > the filter. Is this a bug or part of the specification?
It is a bit of a grey area in the spec, but IMHO it is a bug. When forwarding to the login-page, Tomcat bypasses normal request processing (including calling ServletRequestListeners). I'd go ahead and file a bug report for it. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
