Has anybody integrated JTidy or any of the other HTML-prettifiers with Struts? I find Tidy does a good job of cleaning up JSPs, which tend to get pretty spaced out particularly when there are lots of includes, but I don't have a clear idea of where it would plug in. Would it make sense to put it into a servlet filter and then chain that onto the Struts controller servlet? Or is there a logical spot to put that functionality somewhere inside the framework (attach to an action or something??). Or would it be a plug in?
Thoughts? Dave