tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
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
or
2. Remove the line breaks from your JSP source

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message