I think it is "streaming" although it does use a buffered writer like I mentioned before.
Basically, I: generate a line of data, write to the print writer and then repeat (pseudo code): printWriter.write("data"); The PrintWriter flushes itself along the way and I can see the Firefox progress bar incrementing the file size pretty consistently throughout the whole process so I know the client is receiving data basically "streamed" to it (until I click Cancel which was the original use-case). Thanks! On Thu, May 20, 2010 at 5:19 PM, Christopher Schultz <ch...@christopherschultz.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ðavîd, > > (Wow, that's a lot of accented characters! Congratulations on probably > having a lot of forms on the web misinterpret your name! There's more > below.) > > On 5/20/2010 4:07 PM, Caldarale, Charles R wrote: >>> From: Ðavîd Låndïs [mailto:dlan...@gmail.com] >>> Subject: user cancels download attachment >>> >>> Tomcat 6.0.20 >>> Java 1.6.0_20-b02 >>> Linux 2.6.32-22 >> >> I can't answer your question (at least not yet), but one more piece >> of information is needed: do you have anything front-ending Tomcat, >> such as httpd, or is Tomcat running standalone? > > Also, are you generating your CSV data in a "streaming" way, or are you > buffering that, and then copying the data to the ServletOutputStream? > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkv1p2gACgkQ9CaO5/Lv0PBDqACfZCqHHlOrAIicWuF3ZwYfi79F > 1vwAoK4SUtOXtfy8X4k2c3S4a8Pb0p6/ > =oO29 > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org