Automatically tidy up JSP/JSF files

Posted by er4z0r on Stack Overflow See other posts from Stack Overflow or by er4z0r
Published on 2010-03-24T10:05:09Z Indexed on 2010/03/24 10:13 UTC
Read the original article Hit count: 520

Filed under:
|
|
|
|

Hi,

I am working on a webapplication and I do most of the XHTML stuff in an editor. Every once in a while I froget to close a tag or mess up the nesting (we all get distracted sometimes ;-)).

So I commpile, package and run my webapp (using maven mvn clean package jetty:run-war only to notice that displaying the view (where I messed up the jsp) fails with an exception while trying to render.

So I wondered: Is there some tool that I can include into my build-cycle that automatically catches and rectifies those careless mistakes?

© Stack Overflow or respective owner

Related posts about web-development

Related posts about tidy