tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Legolas Woodland <legola...@gmail.com>
Subject Re: How i can exclude a url pattern for a filter ?
Date Sat, 29 Apr 2006 21:51:50 GMT

>> John C. Dale wrote:
>>> This is a tough one - I've always configured my filters to include all
>>> relevant URL's (logical equivalent of exclusion for non-matches).
>
>   
Do you mean that web.xml does not support url exclusion ?
if not , is there any way that i could exclude that S folder ?

Thanks
>
> Hi
> Thank you for reading my post
> I have defined a filter in my web.xml and for some of my pages it should 
> be applied but not for all of them.
> for example i should exclude a subdirectory like : webroot/s/ from this 
> filter
> but filter should be applied for  other subdirectory and files .
>
> can some one tell me how i should configure it ?
>
>
> My current filter mapping :
>
>     <filter>
>         <filter-name>Checker</filter-name>
>         <filter-class>
>             com.leg.checker
>         </filter-class>
>     </filter>
>
>     <filter-mapping>
>         <filter-name>Checker</filter-name>
>         <url-pattern>/*</url-pattern>
>     </filter-mapping>
>
>
>   


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


Mime
View raw message