Can anyone explain this JSP validation warning? [message #546633] |
Tue, 13 July 2010 11:20  |
Eclipse User |
|
|
|
Helios JEE package.
Can anyone explain why the following JSP would generate warnings:
<%@ include file="/WEB-INF/includes/taglibs.jsp"%>
<head>
<title>Hello</title>
</head>
<body>
<div id="header">
<h1>Hello</h1>
</div>
</body>
</html>
The warnings are "Invald location of tag (head)" and "Invalid location of tag (body)." This is NOT a WTP project, just a plain Java project.
The odd thing is that I have several other projects with the same basic structure that don't generate warnings for similar JSPs. In fact the problematic project is a copy/paste of another that has no such warnings, even when I re-validate its JSPs.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06559 seconds