RE: Servlet Filter Not Intercepting?

2008-01-03 Thread Jay Liu
r Checkout servlet ever invoked, cause you haven't posted your servlet-mapping tags. Have you tried mapping your filter using url-patterns, instead of servlet-name ? And only one more question, what do you mean by 'turn off invonking the resource' ? Yours, Marcus Milanez -Mensagem

RE: Servlet Filter Not Intercepting?

2008-01-02 Thread Jay Liu
dpress.com -Mensagem original----- De: Jay Liu [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 1 de janeiro de 2008 18:36 Para: users@tomcat.apache.org Assunto: Servlet Filter Not Intercepting? Hi all, I'm having a problem with filters. I setup filter to block access to a resource unl

RE: Servlet Filter Not Intercepting?

2008-01-01 Thread Jay Liu
Thanks Martin, The thing is, I only have one filter, and I believe the XML is specified correctly. The behavior is something like: Request -> target runs -> filter kicks in and I see the filter page. I know the target gets a request because I see in the apache log a null pointer exception. I f

Servlet Filter Not Intercepting?

2008-01-01 Thread Jay Liu
Hi all, I'm having a problem with filters. I setup filter to block access to a resource unless the user is authenticated. I've noticed that the resource is accessed then the filter kicks in and then loads. I thought filters were supposed to intercept the request before the resource is a