Hi,
this has been asked before.
The reply I posted then was that we have seen different behaviours from
different servlet engines. With JRun, the output was as you might want -
the output appears when it is println-ed. With WebSphere, the output does
not appear until the end of the call. This may be true of other engines.
Regards,
Mark
> -----Original Message-----
> From: Sean Snyders [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, 19 October 1999 7:12
> To: [EMAIL PROTECTED]
> Subject: output streaming to a servlet's response
>
> hey all,
>
> I have this problem:
> I use a servlet derived from the normal GenericServlet and when I'm
> writing
> to the response as such
>
> PrintStream outputStream = new PrintStream(response.getOutputStream());
> outputStream.println(" blah blah blah \n");
>
> it doesn't appear on the browser immediately, it appears only after the
> "service"
> method of the servlet has finished. Why is that ? and is there a way I can
> actually
> output stuff 'real-time' to the browser?
>
> Thanx
>
> Sean.
>
> __________________________________________________________________________
> _
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html