I put a 'return' statement after every 'forward' statement in all my jsp pages and now it seems to be working. Thanks for your feedback.

Actually, my linebreak occurs in the <% %> tags. I think my email client might have reformatted my output before sending.

[EMAIL PROTECTED] wrote:

You want the line breaks, either line-feed or carriage-return, line-feed
to occur within the java or jsp code, not within the html code.
Sometimes the html is buffered and ignored when something else puts out
headers or such.

Within HTML, line breaks do not matter much
Before HTML, any line break implies that HTML has started and you can get
default headers without doing anything.
Within JSP or Java, line breaks do not matter much.

Choice of uglies.
<%@ page ...
%><% code here

<%@ page ... %><%
code here

<%@ page %>
---there is here the line break of the above line---
<% at this point the response has been committed by outputting the above
\r\n or whatever


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

Reply via email to