tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Labanowski <>
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'; %>
Hello World

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

<%@ page language="java" %>
<% char ch  = '\u000d'; %>
Hello World
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/
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
        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
        at Code)
        at Code)

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: 
1224 Kinnear Rd,             |
Columbus, OH 43212-1163      |

View raw message