tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Mast" <jhmast.develo...@gmail.com>
Subject Strange JSP compilation error
Date Wed, 16 Jul 2008 21:30:47 GMT
I have jsp that started giving me this error when I added another mundane
else if clause to a long section of such clauses:

Generated servlet error:
Syntax error, insert "}" to complete Block

Generated servlet error:
Syntax error on token "}", delete this token

Generated servlet error:
Syntax error, insert "}" to complete ClassBody

The code is syntactically correct because the editor gave me now errors when
I composing it.

The If-Else go like this:

<% if (foo) { %>
     <jsp:forward ... > ...
<% } else if (bar) { %>
     <jsp:include ... >

and so on.

Have a I ran into a limit on such constructions?

Tomcat 5.5.17
Java 1.4.2

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message