开发者

Eclipse 3.4 JSP validation question

Why is eclipse saying 'No end Tag (</c:if>).' on line 1 and 'No start tag (<c:if>)' on line 4 of the following code snippet:

<c:if test="${ShowLoginLink}">
    Log in again and export the document as PDF.</p>
    <a href="${LoginLink}"><img src="<%= request.getContextPath() %>/images/linkIcon.jpg" width="17" height="17" style="float:left; padding-right: 3px; border: none;"/>Log In</a>
</c:if>

It works fine at runtime开发者_开发技巧 on the server. I am just annoyed with eclipse validation.


you have a missing start paragraph see line 2


If you dont want to get bugged by this validation you can simple disable all validations by right clicking on your project> validations> disable all validations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜