tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: jsp compilation error in tomcat
Date Mon, 17 Jul 2006 16:50:08 GMT

> If this is the wrong group to post this question let me know. I am new
> to jsp.

This probably /is/ the wrong place to post a question about JSP,
although most of the readers of this group are well-versed.

> org.apache.jasper.JasperException: Unable to compile class for JSP
> An error occurred at line: 120 in the jsp file: /results.jsp
> Generated servlet error:
> String literal is not properly closed by a double-quote

Your code snippet does not seem to contain the action error ("String
literal is not properly closed by a double-quote"). Try looking around
your code for a place where you tried to define a string, but forgot to
put a " at the end, like this:

    String foo = "bar;

Note that it should be changed to this:

    String foo = "bar";

Good luck,

View raw message