Try using out.flush() and see if that helps.
Also, if you are sending back an html table, the browser must get back the
entire table contents before it can render. Thus if you have a nested tables,
none of them will be visible until all are received.
This might apply to other html entities as well.
--shawn
Sean Snyders wrote:
>
> 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