You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steven Perry <no...@yahoo.com> on 2003/10/04 07:45:59 UTC
Help :- Filters .
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@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Tomcat, Jonas and Valves.
Posted by Steven Perry <no...@yahoo.com>.
I have implemented a Valve, and configured it in
%tomcat_home%\conf\server.xml . When I run "catalina
start", this valve work perfectly.
I have integrated tomcat and jonas, since Jonas is my
preferred ejb-container. But, when i use "jonas
start", my valve doesn't seem to be functioning.
I even configured server.xml in %jonas_base%\conf, but
to no avail.
If anyone has any idea how to go about this, I'd be
grateful to hear from you.
--Steve
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Help :- Filters .
Posted by Steven Perry <no...@yahoo.com>.
Thanks a lot Jacob. I'll take a look at the docs right
away.
--Steve
--- Jacob Kjome <ho...@visi.com> wrote:
>
> 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@jakarta.apache.org
> >For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Help :- Filters .
Posted by Jacob Kjome <ho...@visi.com>.
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@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org