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
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
; [EMAIL PROTECTED]
Subject: RES: Servlet Filter Not Intercepting?
Hi Jay,
Your configuration seems to be fine.. Is your 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
-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
unless the user is authenticated.
I've noticed that the resource is accessed then the filter
-class
/servlet
I only have one filter right now.
Thanks again,
Jay
-Original Message-
From: Milanez, Marcus [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 5:21 AM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: RES: Servlet Filter Not Intercepting?
Hi,
Yes, filters
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
recipient. Sender does not necessarily endorse content contained within this
transmission. From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject:
Servlet Filter Not Intercepting? Date: Tue, 1 Jan 2008 15:36:21 -0500 Hi
all,I'm having a problem with filters. I setup filter to block access
To: Tomcat Users List
Subject: RE: Servlet Filter Not Intercepting?
2 things1) the order of filter-mapping DOES matter in web.xmlin other words
1st lexically is the first filter to fire 2)any pre-initialisation of the
filter should be accomplished in the init() method()
check out this link from