Hi all,
got the following problem:
I'm generating xml with jsps. Before I write out any response, I'm using
out.clearBuffer() to
clear anything from the output buffer in order not to write out new lines
etc.
However, this doesn't seem to work. I always get 3 line feeds before the xml
starts,
List; [EMAIL PROTECTED]
Betreff: RE: line feeds in response
There are 3 linefeeds in your jsp before the code that generates the xml.
Remove them and you should be ok.
There has been a discussion on this before on this list. Search the archives
:)
-Original Message-
From: Alexander Stage
Hi all,
got the following problem:
I'm generating xml with jsps. Before I write out any response, I'm using
out.clearBuffer() to
clear anything from the output buffer in order not to write out new lines
etc.
However, this doesn't seem to work. I always get 3 line feeds before the xml
starts,
3 chars. I suppose he was
reading char-by-char instead of looking for the starting xml tag. Note, IE
doesn't care about the 3 chars. It's displays the xml document w/ or w/o
the 3 chars.
Hope this helps.
RS
Alexander Stage
[EMAIL PROTECTED