I work with Eclipse Keppler and Java 1.7.
I have the following jsp
<c:choose>
<c:when test='${attributeName.name.equals("Owner")}'>
/* <c:when test="${attributeName.name == 'Owner'}"> */
$(td).append(list[i].owner);
</c:when>
<c:otherwise>
$(td).append(getAttributeValue(list[i].attributes, '${attributeName.id}', '${attributeName.name}'));
</c:otherwise>
</c:choose>
In the Keppler editor I have the following error
I configured the values:
Is it something wrong in this configuration?
您必须导入JSTL jar并添加
`<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>` at top of jsp page
I think this is an Eclipse bug. It looks similar to the bug .
You may have to use new version of Eclipse.
I think it is a bug , anyway doing like below will prevent even different kind of errors in jsp
Project properties --> Validation --> disable all validators in the grid
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.