tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Excess whitespace generated
Date Thu, 10 Jul 2008 17:03:43 GMT
Jonathan Mast wrote:
> I'm writing a jsp to return out a simple xml document and it is being
> preceded by quite a few line breaks, causing my test parser to fail.
> The page simply calls out.println(xmlstring);
> Is there another way to control precisely the contents returned by a JSP?

1. Use a servlet
2. Remove the line breaks from your JSP source


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message