Le jeudi 12 juillet 2007 à 16:26 -0400, Erron Austin a écrit :
> For my project (don't want to start a whitespace war), I would like to try
> integrating Jtidy (I may try other parsers as well) with my web app that's
> using a sub-class of the VelocityViewServlet.  Does anyone have an example
> of how to do this?
> 
> My purpose is to clean up the final source and to ensure that the resultant
> code is xhtml.

I'm pretty sure you only need to set up a JTidyFilter in your web.xml,
rather than integrate it with the view servlet.

See http://jtidy.sourceforge.net/multiproject/jtidyservlet/filter.html


  Claude

> Thanks,
> 
> Erron


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to