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 2003/09/29 11:55:29 UTC
DO NOT REPLY [Bug 23478] New: -
StringIndexOutOfBoundsException with an empty jsp file name
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23478>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23478
StringIndexOutOfBoundsException with an empty jsp file name
Summary: StringIndexOutOfBoundsException with an empty jsp file
name
Product: Tomcat 3
Version: 3.3.1 Final
Platform: All
URL: http://mypc/.jsp
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: jms@mail.de
If there is no file name in the URL, like in http://mypc/.jsp, I get the
following exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
at java.lang.String.charAt(Compiled Code)
at org.apache.jasper.compiler.JasperMangler.fixInvalidChars(Compiled Code)
at org.apache.jasper.compiler.JasperMangler.init(JasperMangler.java:258)