Bill,

Thank you for the reply. I created a sample web app with one JSP and a
filter, in the same way you did with dummy JSP. It is working. So, what you
said will be correct, the problem is in the filter.

How I know that the doFilter method is not executing is, while analyzing the
filter class provided by a third-party vendor, I could see some log4j info
messages are putting from the doFilter method, which is not printing in my
tomcat log.

Manoj.


Bill Barker-2 wrote:
> 
> 
> How do you know that the doFilter method isn't executing?  The first thing
> I 
> would try is to create a dummy JSP page in the Jsp folder that looks 
> something like:
> .........
> If your Filter shows up in the stack trace, then it is being called, and
> the 
> problem is in the Filter.
> 
> In general, adding parameters in a Filter is a lot of work with Tomcat, 
> since Tomcat will parse the parameters only once at a place that is in 
> general hard to predict.  Usually you have to override all of the
> parameter 
> related methods in your HttpServletRequestWrapper to make certain that
> they 
> show up in the target servlet.
> 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-6-and-Servlet-filter-problem-tp17337357p17356252.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to