Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Flushing servlet response

843835Jan 2 2002 — edited Jan 2 2002
Hi all,

I'm trying to write a relatively large set of data back to the client and would like to not make the client wait while the entire data set is waiting to be written. I've tried using flush for the HttpServletResponse's OutputStream and I've also tried the response's own flushBuffer method, but neither seem to do the trick.

It may be a function of the content type (PDF), servlet engine (Tomcat 3.2), buffer sizes (don't think this is it), etc., but I'm not sure which. Any help would be greatly appreciated.

Thanks,

Ken
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 30 2002
Added on Jan 2 2002
2 comments
117 views