tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Mast" <>
Subject Excess whitespace generated
Date Thu, 10 Jul 2008 16:51:51 GMT
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?

I thought there would be a "setContent" method in the implicit response
object, but there isn't.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message