You can define a servlet filter that parses the response stream. Depending on what you have to parse there may be tools that can help you to do the parsing and stripping.
> -----Original Message----- > From: Jonas Stricker [mailto:[EMAIL PROTECTED] > Sent: Friday, January 30, 2004 12:20 PM > To: [EMAIL PROTECTED] > Subject: dumb newbie question > > I would like to know wether thereīs a not too sophisticated method to > clean up the output of JSPs that are rendered by tomcat. > > Reason: I am supposed to produce some XML dynamically, which has to be > parsed again by some - well, letīs say: not _very_ wise guys. > So it would be kind of useful for me to get rid of the empty lines in > the HTML/XML/what-ever output. In the end it doesnīt look to > nice, too. :) > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]