tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42944] New: - plus sign in url-pattern in servlet-mapping does not work
Date Fri, 20 Jul 2007 16:32:19 GMT
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=42944>.
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=42944

           Summary: plus sign in url-pattern in servlet-mapping does not
                    work
           Product: Tomcat 5
           Version: 5.5.20
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: stefan.wachter@gmx.de


Hi all,

I had servlet-mappings that contain plus signs (they were created by JspC), e.g.:

    <servlet-mapping>
      <servlet-name>org.apache.jsp.suchergebnis_005fbu_002bbb_jsp</servlet-name>
      <url-pattern>/suchergebnis_bu+bb.jsp</url-pattern>
    </servlet-mapping>

This mapping does not work (the referred class is present)! When I change the
original file names of the JSPs such that the plus signs are replaced by a minus
signs the following mapping results:

    <servlet-mapping>
      <servlet-name>org.apache.jsp.suchergebnis_005fbu_002dbb_jsp</servlet-name>
      <url-pattern>/suchergebnis_bu-bb.jsp</url-pattern>
    </servlet-mapping>

Now the mapping works.

Therefore I assume that there is a bug in handling servlet mappings with plus
signs in their 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message