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

http://issues.apache.org/bugzilla/show_bug.cgi?id=34000

           Summary: the attribute "url-pattern" of web.xml doesn't work
                    properly on mapping by extenstions
           Product: Tomcat 5
           Version: 5.0.28
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


create a servlet map

  <servlet-mapping>
    <servlet-name>javascript</servlet-name>
    <url-pattern>*.js</url-pattern>
  </servlet-mapping>

Expected result: it should process only *.js, not *.js* (like JSP, JSPF, JSF 
etc.)

Real result: the servlet processes all of requested resources with 
extensions "js*" , i.e. it takes *.jsp, *.js, *.jspf like if url-pattern was 
set to 

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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to