tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Labanowski <...@osc.edu>
Subject Tomcat bug
Date Sat, 03 Jun 2000 14:55:26 GMT
I am still using 3.1b1 Apache 1.3.12
There is an annoying bug:

the JSP page: ( you cannot get much shorter than that)

<%@ page language="java" %>
<% char ch  = '\u000e'; %>
<HTML>
Hello World
</HTML>

Prints
  Hello World 
in the browser. If I change e -> d in char constant, i.e.:

<%@ page language="java" %>
<% char ch  = '\u000d'; %>
<HTML>
Hello World
</HTML>
 
I get:

Error: 500

Location: /SciPortal/CCM/CT/GAUSSIAN/test.jsp

Internal Servlet Error:

org.apache.jasper.JasperException: Unable to compile class for JSPwork/localhost_8080%2FSciPortal/_0002fCCM_0002fCT_0002fGAUSSIAN_0002ftest_0002ejsptest_jsp_3.java:61:
Invalid character constant.
                 char ch  = '\u000d'; 
                            ^
1 error

        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.fillInStackTrace(Compiled Code)
        at java.lang.Throwable.(Compiled Code)
        at java.lang.Exception.(Compiled Code)
        at javax.servlet.ServletException.(Compiled Code)
        at org.apache.jasper.JasperException.(Compiled Code)
        at org.apache.jasper.compiler.Compiler.compile(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.loadJSP(Compiled Code)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
Code)
        at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.serviceJspFile(Compiled Code)
        at org.apache.jasper.runtime.JspServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled
Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)


Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/


Mime
View raw message