Code Formatter: cleaning up horribly formatted jsp code

Posted by ahiru on Stack Overflow See other posts from Stack Overflow or by ahiru
Published on 2009-08-05T19:38:32Z Indexed on 2010/04/27 3:13 UTC
Read the original article Hit count: 392

Filed under:
|
|
|

So I am working on a jsp/servlet that came to me and I'm looking at the jsp file and it is just a jungle of jstl tags, java code and html thrown together. At first it looked like someone ran the standard eclipse formatter on it and had the page width set to 40 so alot of stuff is broken up, I tried to format it with a larger page width but that seemed to make it worse to the point of not being able to tell what is going on without formatting parts of it first.

Anyone have any luck with any jsp/code formatter?

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp