DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21811>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21811

If url-pattern is /*.jsp, filter doesn't run

           Summary: If url-pattern is /*.jsp, filter doesn't run
           Product: Tomcat 4
           Version: 4.1.24
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If my web application's web.xml file contains this:

    <filter-mapping>
      <filter-name>Test Filter</filter-name>
      <url-pattern>/*.jsp</url-pattern>
    </filter-mapping>

then the filter doesn't run when I invoke a JSP in the application's top-level 
directory.

If I change the url-pattern to this:

      <url-pattern>*.jsp</url-pattern>

then the filter does run.

I'll upload a .war file and some instructions to demonstrate the problem shortly.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to