You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/03/30 21:21:39 UTC
DO NOT REPLY [Bug 28058] -
JspRuntimeLibrary.getContextRelativePath() can throw StringIndexOutOfBoundsException
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=28058>.
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=28058
JspRuntimeLibrary.getContextRelativePath() can throw StringIndexOutOfBoundsException
------- Additional Comments From jan.luehe@sun.com 2004-03-30 19:21 -------
I was able to reproduce your problem w/ TC 5.0.19.
I assume you have a chain of jsp:include, and have the following jsp-config
element in your web.xml:
<jsp-config>
<jsp-property-group>
<url-pattern>/*</url-pattern>
</jsp-property-group>
</jsp-config>
If so, this bug has already been fixed - it is a duplicate of Bugzilla 27704
("Result of request.getServletPath() wrong in case JSP inside
jsp-property-group").
The fix is in CVS, and will be available in TC 5.0.21.
Please confirm that your problem is being caused by the above jsp-config, and I
will go ahead and close this bug as a duplicate of Bugzilla 27704.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org