tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John C. Dale" <...@downinthedesert.com>
Subject RE: How i can exclude a url pattern for a filter ?
Date Sat, 29 Apr 2006 22:46:21 GMT
This is a tough one - I've always configured my filters to include all
relevant URL's (logical equivalent of exclusion for non-matches).



-----Original Message-----
From: Legolas Woodland [mailto:legolas.w@gmail.com] 
Sent: Saturday, April 29, 2006 11:20 AM
To: Tomcat Users List
Subject: How i can exclude a url pattern for a filter ?


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



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


Mime
View raw message