2017-07-25 72 views
0

我使用Eclipse Keppler和Java 1.7。jsp中的Eclipse Keppler java 1.7錯誤

我有以下的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> 

在開普勒編輯我有以下的錯誤

enter image description here

我配置的值:

enter image description here

enter image description here

enter image description here

有什麼事情錯在這個配置?

回答

0

你必須導入JSTL罐子,並添加

`<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>` at top of jsp page 
0

我覺得這是一個Eclipse的bug。它看起來類似於the bug

您可能需要使用新版本的Eclipse。

0

我認爲這是一個錯誤,反正做下面像會阻止甚至不同類型的錯誤在JSP

項目屬性 - >驗證 - >禁用網格中的所有驗證