Hi In your loop , do a out.flush(). This should work!
Thanks & Regards Balasubramaniyan Krithivasan -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Chen, Gin Sent: Thursday, May 09, 2002 8:40 PM To: [EMAIL PROTECTED] Subject: Large Table Hi all, I have a table that is being displayed that could be over 33000 rows large. This takes a while to even display on the page. So I'm using a fixed table width to show it a little faster (actually it will just display it faster but not load it any faster). in the code.. i'm doing something like: out.println("<TABLE border=1 style='table-layout:fixed'>"); out.println("<COL width='100'><COL width='100'><COL width='100'><COL width='100'><COL width='100'><COL width='100'><COL width='100'><COL width='100'>"); for( int i = 0; i < 33000; i++ ) { out.println("<TR><td>Another</td><td>Row</td><td>Another</td><td>Value</td>< td>Another</td><td>Row</td><td>Another</td><td>Value</td></TR>"); } out.println("</TABLE>"); Now when I do this from a servlet.. it doesnt seem to work.. it still waits for the page to finish before showing anything. But when I do it from a jsp... it works fine. Why is it doing it differently between the 2?? I set response type to text/html in the Servlet. Also, can anyone recommend a faster way to display that many roles/columns?? Thanks, -Tim ___________________________________________________________________________ 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
