Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » jsp validation error(validation error)
jsp validation error [message #524434] Wed, 31 March 2010 18:05 Go to next message
Eclipse UserFriend
I'm using ganymede and getting an error on a jsp page. The construct that seems to be a problem is as follows:
<c:if test-"${!empty flag}">
<div>
</c:if>
stuff

<c:if test="${!empty flag}">
</div>
</c:if>

The <div> and </div> flags are getting the NO START TAG and NO END TAG errors. Any way to get around this?
Re: jsp validation error [message #524800 is a reply to message #524434] Fri, 02 April 2010 11:09 Go to previous message
Eclipse UserFriend
Unfortunately, the validator does not really understand that what you're doing is pairing the start and end tags through conditional tags. It simply walks through and makes sure that you've got the start/end tags paired when they're nested within another element.

Right now, the only option to get rid of these errors is to modify the "Missing start/end tag" validation severities to Ignore. Go to Window > Preferences. Under Web > HTML Files > Validation you'll find "Missing start tag:" and "Missing end tag:" under the Elements section. Changing their value to Ignore will stop generating Problem markers for these problems. However, it also has the drawback that other elements that aren't blocked within conditional tags will also have their missing start/end tags ignored.
Previous Topic:the librares are null under the src in the web project
Next Topic:No SQL Scrapbook Page
Goto Forum:
  


Current Time: Wed Jul 02 16:07:19 EDT 2025

Powered by FUDForum. Page generated in 0.03854 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top