I don't know much about websphere but I presume it's just a servlet
environment.
You can do this by using an autoflushing Writer, eg: PrintWriter
created with autoflush boolean set to true.
The ouput sent to the PrintWriter will then be constantly flushed out
and sent to the client.
Beware though! Some servlet engines might ignore flushing and only
output once the stream has been closed.
You might need to set the content-length.
This trick will also likely stop you from taking advantage of
HTTP/1.1 features like Chunked-Encoding.
Nic Ferrier
Tapsell-Ferrier Limited
http://www.tapsellferrier.co.uk
"Use Ockham Luke"
>>> Guy Nirpaz <[EMAIL PROTECTED]> 9/1/99 9:14:14 PM >>>
Hi all,
I'm developing a three tier application. I'm using the IBM Websphere
as
the application server.
The data which I get from the DB comes (in this is a must) in small
portions and very fast.
I would like to know if there is a way to start showing the results
on
the screen as soon as the first portion of data arrives from the DB
and
continue to concatenate the other portions without the user to
intervene.
Hope I'm clear about that,
Thanks
___________________________________________________________________________
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