I read on this list a while back that there is now a configuration
parameter or switch somewhere take care of this. Apparently it is by
default OFF, because it doesn't comply with the servlet spec.
I am not sure what the parameter is, nor whether it is in a production
release yet.
Perhaps someone else knows.
Adam
On 01/30/2004 12:47 PM Ralph Einfeldt wrote:
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]
--
struts 1.1 + tomcat 5.0.16 + java 1.4.2
Linux 2.4.20 Debian
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]