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 23478] New: - StringIndexOutOfBoundsException with an empty jsp file name
Date Mon, 29 Sep 2003 09:55:29 GMT
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)

Mime
View raw message