Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Help :- Filters .

Steven Perry

2003-10-06

Replies:

Thanks a lot Jacob. I'll take a look at the docs right
away.

--Steve

--- Jacob Kjome <hoju@(protected):
>
> 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:
> tomcat-user-unsubscribe@(protected)
> >For additional commands, e-mail:
> tomcat-user-help@(protected)
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail:
> tomcat-user-help@(protected)
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.