Large file transfer through tomcat?

2007-07-12 Thread Mark Jessop
Hi, I am putting together a site that allows files stored in an external system to be uploaded/downloaded via http. This works absolutely fine, but I am concerned as to what might happen if a user attempts to up/down load gigabyte files. My question is, what happens inside tomcat in these

Re: Large file transfer through tomcat?

2007-07-12 Thread Mark Thomas
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

Re: Large file transfer through tomcat?

2007-07-12 Thread Jake Alley
I've run into a problem with this. If a session times out, and someone comes back to post say a wiki page that they've been working on, it causes a problem. Is there any way of dealing with this? Logging people off automatically obviously won't work, because that's what's effectively