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=27704>. 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=27704 Result of request.getServletPath() wrong in case JSP inside jsp-property-group Summary: Result of request.getServletPath() wrong in case JSP inside jsp-property-group Product: Tomcat 5 Version: 5.0.19 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A JSP that maps to a url-pattern in a jsp-property-group does not return the correct result on calling request.getServletPath(). Instead, this call will always return the property group url pattern minus the trailing '/*'. Example: <url-pattern>/level1/*</url-pattern> A JSP in the directory '/level1/level2/test.jsp' calls request.getServletPath(). The result is '/level1' i.o. '/level1/level2/test.jsp'. This may be related to bug 27664. I will attach a test.war file that demonstrates the described behavior. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]