tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Legolas Woodland <legola...@gmail.com>
Subject How i can exclude a url pattern for a filter ?
Date Sat, 29 Apr 2006 18:19:36 GMT
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