File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web.xml: url-pattern in filter-mapping

 
Ron Newman
Ranch Hand
Posts: 1056
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Tomcat 4.1.24, if I have this in my application's web.xml file:

the filter never gets called for any of my JSPs. But if I change the url-pattern line to this:

the filter does get properly invoked.
Can someone explain why? All of my JSPs are at the top level of my web application's directory, so they all should match the pattern /*.jsp .
[ July 22, 2003: Message edited by: Ron Newman ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic