This is probably the best solution.  The JSP spec requires that the
container (aka Tomcat) respect all whitespace in the JSP document.
Unfortunately, this usually means trading off page readablility for smaller
output size.  There isn't much that the Tomcat team can do about this.  The
place to complain is [EMAIL PROTECTED]

"Filip Hanik" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
will it make a difference if you put he <@page tags on the same line

<@page .../><@page .../><%


%>

-----Original Message-----
From: Chad Pettit [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 11:42 AM
To: Tomcat Users List
Subject: JSP Whitespace


How do I remove whitespace in a text/plain output?

I have two <@page ... /> tags before I enter my JAVA code <%, and I get
two carriage returns in my output.


Thanks for any help.

--
Chad E. Pettit
Software Engineer
XonTech, Inc.
2940 Presidential Dr.
Suite 100
Dayton OH 45324
(937) 320-9140 Phone
(937) 320-9143 Fax




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to