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