good question
2 options

implement with resin
http://www.caucho.com/resin-3.0/config/webapp.xtp#filter-mapping

OR
a filter which which parses RegularExpresssions (as with urlrewrite.xml
configuration from tuckey)
http://tuckey.org/urlrewrite/
e.g.
[^.earth]

Anyone else?
M-

----- Original Message -----
From: "kkus" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Monday, December 03, 2007 12:08 PM
Subject: How can I exclude in <url-pattern> for filters in Tomcat 5.5.20?


>
> Hi,
>
> For the following setting in web.xml, if I have a request like /*.earth
how
> can I exclude it from these filters? I don't want to filters to handle
> request from /*.earth. Thanks!
>
> <filter-mapping>
>         <filter-name>rewriteFilter</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
>     <filter-mapping>
>         <filter-name>sitemesh</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
> --
> View this message in context:
http://www.nabble.com/How-can-I-exclude-in-%3Curl-pattern%3E-for-filters-in-
Tomcat-5.5.20--tf4937775.html#a14133848
> 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]
>
>


---------------------------------------------------------------------
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