Most browsers (all?) can't display any of a table until it hasn't been
fully loaded. You can verify this by printing the 33000 rows of text
with <br> tag after each one and no <Table> tags. You should see the
rows come up as they're incrementally loading.
d.
Chen, Gin wrote:
> 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
>
>
>
--
David Mossakowski [EMAIL PROTECTED]
Instinet Corporation 212.310.7275
*******************************************************************************
<<Disclaimer>>
This message is intended only for the use of the Addressee and
may contain information that is PRIVILEGED and/or
CONFIDENTIAL or both.
This email is intended only for the personal and confidential use
of the recipient(s) named above.
If the reader of this email is not an intended recipient, you have
received this email in error and any review, dissemination,
distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender
immediately by return mail and permanently deleting the copy
you received.
Thank you.
*******************************************************************************
___________________________________________________________________________
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