Flushing servlet response
843835Jan 2 2002 — edited Jan 2 2002Hi 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