if your filter is not being called, then the mapping is probably not
correct. Please provide the relevant portions of your web.xml.  Also provide
the url that your are using for testing. You can change names to protect the
innocent.

did you look in the logs to see if there are any messages?

Charlie

> -----Original Message-----
> From: Johnny Cui [mailto:johnny_lucky2000@;yahoo.com]
> Sent: Tuesday, November 12, 2002 4:09 AM
> To: Tomcat Users List
> Subject: filter doesn't work at Tomcat4.1.12!?
> 
> 
> 
> Hi all,
> 
> I have check every possible error according to some friends 
> suggestion,
> however, my own filter still doesn't work.It is just a 
> authenticater filter.
> 
> the weird things is, I can see the print out lines in the 
> filter.init()
> methods, this means the container has create a instance for 
> my filters, but
> the doFilter() seem not to be called, because I add a print 
> line in the very
> beginning of the code for doFilter().
> 
> I think the server.xml and web.xml is fine because the sample 
> filter can
> work now, I just put the <filter> element for authenticater 
> filter behind
> the sample working filter, and the <filter-mapping> is all 
> the same for the
> two fitler, so I assume in the filterchain should be like 
> this:  sample
> filter --> authenticater filter.
> 
> could anybody help me to solve this problem.
> 
> Johnny
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to