I don't see anything strange happening. Sure, Orion emits a lot of newlines
in the generated output, but this is according to the specification. A
compliant container should pass everything, including newlines, outside of
tags and actions to the outputstream.
Run the attached test.jsp in orion and tomcat by copying it to
<orion>/default-web-app and <tomcat>/webapps/ROOT and compare the sources of
the response. They are identical.
Marcel
----- Original Message -----
From: "Kevin Duffey" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Saturday, July 21, 2001 8:24 PM
Subject: RE: Orion's JSP generated code
> I have noticed the same thing. There seems to be no way to avoid this. I
> have no idea why they do it too..it does add tons of empty lines
throughout
> the html.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Sergei Batiuk
> Sent: Friday, July 20, 2001 3:25 AM
> To: Orion-Interest
> Subject: Orion's JSP generated code
>
>
> Hi forum,
>
> I have noticed that when I use scriplets or tags in my JSPs , orion puts
> "\r\n" into the output stream code for each tag. This results in many
blank
> lines in the generated HTML code. In comparison, PHP scriplets do not
> produce these blank lines. Does anyone know how to "beautify" the
generated
> code?
>
> Thanks in advance,
> Sergei.
>
test.jsp