Ok, this should have been simple. But Tomcat doesn't seem to be doing what I 
thought it would-
I have a bunch of jsp files under a directory called "protected". I want a 
filter to be invoked when these files are accessed. I also have a directory 
called "includes" under "protected". I DON'T want the filter to be invoked when 
files under "includes" are accessed. I cannot change this directory structure. 
I used the pattern "/protected/*.jsp" for the filter in question and hoped  
that Tomcat will realize that I want the filter invoked only for those files 
under "protected". However, Tomcat doesn't like the pattern (I get a 
stacktrace- Invalid url-pattern...). Tomcat doesn't complain about "/*.jsp" or 
"/protected/*" (except it invokes the filter for all the files under 
"/protected/includes"), but it complains about "/protected/*.jsp". So, whats 
the pattern to use?

Thanks,

Av.




 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

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