You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by murugan arunachalam <da...@yahoo.com> on 2003/11/12 21:29:48 UTC

CUSTOM URL FILTERS TOMCAT

hi , 

 How would i  set up custom filter  at the server
level instaed of the web app . i want  to route all
the incoming requests to tomcat  thru my custom URL
filter  . 

 Regards,
Murugan

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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


Re: CUSTOM URL FILTERS TOMCAT

Posted by Christopher Schultz <ch...@comcast.net>.
>  How would i  set up custom filter  at the server
> level instaed of the web app . i want  to route all
> the incoming requests to tomcat  thru my custom URL
> filter  . 

I think what you want is a Valve. Check the documentation for 
org.apache.catalina.Valve. Unfortunately, this technique will not work 
for other application servers. This should be fairly obvious, though, 
since once you leave the servlet context, there are pretty much no rules 
specified by the servlet spec.

-chris


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