Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rob,

On 5/19/2011 12:29 PM, Rob GB wrote:
Someone suggested commons IO could provide some cool stream APIs,
I'll try all recommendations, including asynchronous writes.

Why not just let the DefaulsServlet serve the files?

I was also wondering about that, but then I figured that the code shown may just be part of a broader application which creates the file on-the-fly prior to the download.

But sendfile() seems to be a way to do all this more efficiently.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to