Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Large file transfer through tomcat?

Mark Thomas

2007-07-12

Replies:

Mark Jessop wrote:
> In both of these cases, I don't want to have to hold the entire file in a
> memory buffer before it can be managed.

Tomcat will stream the data to/from your Servlet. There will be some
small (few K) in memory buffers in the path for efficiency but nothing
approaching the entire file.

The only exception to this case I can think of is when POSTing to a
page that requires FORM authentication. In this case the entire
original request will be saved during the auth process but there is a
fairly low (4K?) default limit on the size of that request.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.