RE: Servlet Filter Not Intercepting?

2008-01-03 Thread Jay Liu
the resource' ? Yours, Marcus Milanez -Mensagem original- De: Jay Liu [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 3 de janeiro de 2008 01:49 Para: 'Tomcat Users List' Assunto: RE: Servlet Filter Not Intercepting? Thanks Marcus. Here's my filter setup. I just created it fresh

RE: Servlet Filter Not Intercepting?

2008-01-02 Thread Jay Liu
atre supposed to intercept a requets just before it is accessed. Could you please post your filter config written in your web.xml file? Yours, Marcus Milanez http://sumatrablog.wordpress.com -Mensagem original- De: Jay Liu [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 1 de janeiro

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

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