Hi,
There is a simple reason for all the \r\n characters, but they actually are in your
jsp document.
See example :
<%= "TEST1" %>
<%= "TEST2" %>
<%= "TEST3" %>
Will return :
TEST1\r\nTEST2\r\nTEST3\r\n
But :
<%
out.write("TEST1");
out.write("TEST2");
out.write("TEST3");
%>
Will return :
TEST1TEST2TEST3
For every return-char in a jsp document that is not with in a jsp-code block you will
get a \r\n
If you think you do not want to change the way you write your jsp pages you should
look for "Trim-filter" in google.com
Hope it helps
-reynir
> -----Original Message-----
> From: Alban Soupper [mailto:[EMAIL PROTECTED]
> Sent: 28. febr�ar 2003 09:58
> To: 'Tomcat Users List' (E-mail)
> Subject: Jsp compilation avoiding writing \r\n characters
>
>
> Hi all,
>
> Is there a way to configure Tomcat 4, so it compiles the jsp
> pages without writing those boring \n and \r characters?
>
> (I am using Catalina embedded in JBoss)
>
> Alban.
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity
> to whom they are addressed. If you have received this email
> in error please notify the system manager at postmaster.eim.ch.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> 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]