You might want to look into Tomcat-specific Valve's. Valve's are essentially filters, but act at the level of Tomcat instead of at the level of each webapp and can be more powerful than filters. The Tomcat docs describe existing valves. I'd just take a look at one of those valves to get an idea of how to write your own...
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/valve.html


Jake

At 10:45 PM 10/3/2003 -0700, you wrote:

 I have configured a filter to do some preService
processing (i,e, before the request is passed onto the
webapp).

I, initially, configured it for a single webapp
(modified the relevant web.xml) and it worked fine.

Now, I want to configure it such that ALL webapps use
this filter. I tried to declare the filter in
%tomcat_home%\conf\web.xml, but this doesn't seem to
work.

Pls help me. How do I go about setting this filter so
that all webapps use it. (without modifying the
web.xml for each and every webapp).

Tahnk you very much.

--Steve.

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to