Troubleshooting
Problem
You have a JSP in Rational Application Developer (RAD) or Rational Software Architect (RSA) v7.0.0.5 which references a tag library and has valid syntax, but is resulting in syntax errors.
Symptom
A JSP with valid syntax n RAD or RSA v7.0.0.5 that is referencing a tag library results in the following syntax errors:
Syntax error on token "}", delete this token
Syntax error, insert "}" to complete Block
Syntax error, insert "}" to complete ClassBody
Example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
</HEAD>
<BODY>
<logic:iterate id="test1" name="anObj">
<logic:iterate id="test2" name="anotherObj">Testing</logic:iterate>
</logic:iterate>
<% if (true) { %>
Testing again
<% } %>
</BODY>
</HTML>
Log InLog in to view more of this document
Was this topic helpful?
Document Information
More support for:
Rational Application Developer for WebSphere Software
Software version:
7.0.0.5
Operating system(s):
Windows
Document number:
95091
Modified date:
10 September 2020
UID
swg21293943