aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes Validate HTML Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "Validate HTML" Watch "Validate HTML" New topic
Author

Validate HTML

Thomas Greene
Ranch Hand

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

http://validator.w3.org/

but how to validate the html in jsp files.

thanks
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14672
    
  11

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
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Validate HTML
 
Similar Threads
An empty Page is displayed at start
Different outputs in IE and FIrefox
Trouble with HTTPUNIT Testing
Need XHTML validator.
javaScipt onsubmit problem in jsp