You can use out.flush( ); to flush the data that has been written "out", and
this will return the data back to the user. So, for instance, you could keep
track of a large resultset, and after every 10 rows you could call
out.flush( ) to return those rows to the user.
Let us know if you have any other questions.
John D. McDonald
CipherStream Systems
Phone: 925.373.8700
Fax: 413.793.6603
email: [EMAIL PROTECTED]
web: www.cipherstream.com
-------------------------------------------------------
Secure E-Business Is Our Business
-------------------------------------------------------
----- Original Message -----
From: George Svedloff <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 27, 1999 11:54 AM
Subject: Is there any way to return a partially-generated page?
> Is there any way to do something like this (in pseudo-code):
>
> out.println("<html>");
> out.println("<body>");
> out.println("<p>");
> out.println("my data");
> out.println("</p>");
> ... call something so that whatever was written so far is returned to the
> browser and displayed while the page continues generating. (In reality
this
> will be used to display a page with a lot of data where data takes some
time
> to populate, so the page will be split up into multiple tables.
>
> Thanks,
>
>
> _____________________
> George Svedloff
> [EMAIL PROTECTED]
> http://www.liquidprice.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
>
___________________________________________________________________________
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