https://issues.apache.org/bugzilla/show_bug.cgi?id=44797

           Summary: url-pattern not working as expected.
           Product: Tomcat 5
           Version: 5.5.26
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


A static URL-Pattern yeilds empty PathInfo.
E.g.,
    <servlet-mapping>
        <servlet-name>MyServlet</servlet-name>
        <url-pattern>/user/request</url-pattern>
    </servlet-mapping>

and, in the mapped Servlet:
System.err.println("[PathInfoCS] PathInfo: " + request.getPathInfo());

Yeilds:
 [PathInfoCS] PathInfo: null

for, e.g., /myapp/user/request
----
<url-pattern>s of things like: '/user/request*' and '/user/req*' return
pathInfo, but don't map to the underlying servlet properly.


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

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

Reply via email to