IBM Support

Vaild JSP fails in version 7.0.0.5 with syntax error

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>

[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Web Development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.0.5","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}},{"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Web Development","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.0.0.5","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

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

Manage My Notification Subscriptions