your browser probably doesn't render the table until it sees a </table> to match the 
opening <table>.

kev

> ----------
> From:         Concannon, David
> Reply To:     A mailing list for discussion about Sun Microsystem's Java Servlet API 
>Technology.
> Sent:         Wednesday, 1 March 2000 9:56 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: display delay
>
> Flush the output buffer after every itteration.
> This will force the information to the browser.
>
> - out.flush();
>
> Dave
>
> -----Original Message-----
> From: Yang XIAO [ mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 29, 2000 3:15 PM
> To: [EMAIL PROTECTED]
> Subject: display delay
>
>
> Hi, there
>
> Here I got a strange situation: When my servlet's generating the response as
> a table, it checks data for each row of the table before displaying it. But
> after invoked the servlet, it doesn't display the row one by one as expected
> but display 2 or 3 rows together. I traced the progress by
> System.out.println but even when it's saying "now is displaying row 1", the
> row 1's still not shown on the web. Thanks for any instruction.
>
> I included 2 private methods CheckData(HttpServletRequest request,
> PrintWriter out, int row) and DisplayRow(HttpServletRequest request,
> PrintWriter out, int row) including the out.println(html stuff for
> displaying the row) in the servlet. In doPost, after setContent type as
> text/html and getWriter(), show the page using out.println(html stuff), and
> for each row, CheckData(request, out, row).
>
> yang
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ___________________________________________________________________________
> 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
>
>
>
EOM

NOTICE - This message contains information intended only for the use of the addressee 
named above.  It may also be confidential and/or privileged.  If you are not the 
intended recipient of this message you are hereby notified that you must not 
disseminate, copy or take any action in reliance on it.  If you have received this 
message in error please notify [EMAIL PROTECTED]

___________________________________________________________________________
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

Reply via email to