简体   繁体   中英

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.

您缺少起始段落,请参见第2行

如果您不想被此验证所困扰,您可以通过右键单击项目>验证>禁用所有验证来简单地禁用所有验证。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM