Umm, the \r\n is probably something you are including
inadvertently. I'm going to speculate that you have a construct that looks
like this...
<%
foo();
%>
<%
bar();
%>
between the first close and next open, you have a
\r\n. While it looks uglier on the JSP page it should clear your line
break if you did this...
<%
foo();
%><%
bar();
%>
Now why JSP doesn't clean this up for you an PHP does
probably boils down to a philosophical difference. PHP is cleaning it up
for you, where JSP is giving you exactly what you asked for. I'd guess
this is because PHP is pretty much pure web, where JSP is intended to be
portable into other formats that may think whitespace is
important.
|
- Orion's JSP generated code Sergei Batiuk
- Seting up Orion's for handling JSP sachin
- RE: Orion's JSP generated code Kevin Duffey
- Re: Orion's JSP generated code Marcel Schutte
- Re: Orion's JSP generated code Aaron Tavistock
- Re: Orion's JSP generated code Sergei Batiuk
- Re: Orion's JSP generated code Johan Fredriksson
- RE: Orion's JSP generated code Aaron Tavistock
- RE: Orion's JSP generated code Galde, Ben