Re: DownloadAction and concurrent threads

2006-09-14 Thread David Grundberg
I see no reason why the DownloadAction would be programmed to synchronize against anything, especially for the whole download, that would be a real showstopper! If you don't use instance variables, and only read from a database (with a connection for each download) or a filesystem, you

Re: DownloadAction and concurrent threads

2006-09-14 Thread David Durham
David Grundberg wrote: My app needs to allow downloads of relatively large files (10MB). Because Struts can/will reuse Actions for different threads, I'm worried that when multiple requests attempt to download these big files that a single BigFileDownloadAction will block until a download is

Re: DownloadAction and concurrent threads

2006-09-14 Thread David Durham
David Durham wrote: David Grundberg wrote: Actually, Oliver Meyn wrote the following question. My apologies to David Grundberg for misquoting. My app needs to allow downloads of relatively large files (10MB). Because Struts can/will reuse Actions for different threads, I'm worried that

DownloadAction and concurrent threads

2006-09-13 Thread Oliver Meyn
Hi all, My app needs to allow downloads of relatively large files (10MB). Because Struts can/will reuse Actions for different threads, I'm worried that when multiple requests attempt to download these big files that a single BigFileDownloadAction will block until a download is complete