File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Validate HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Validate HTML" Watch "Validate HTML" New topic

Validate HTML

Thomas Greene
Ranch Hand

Joined: Aug 09, 2004
Posts: 127
I can validate my HTML files using

but how to validate the html in jsp files.

Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Run the jsp file once, and copy/paste the resulting html code.
(there may be something cleaner)

[My Blog]
All roads lead to JavaRanch
Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I doubt there is any solution other then validating the output of the JSP. The question is the same as "I can spell-check a text file, how do I spell-check a Java program that is writing out a text file?"
I agree. Here's the link:
subject: Validate HTML
jQuery in Action, 3rd edition