struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Günther Wieser <gwie...@creative-it.com>
Subject RE: download finished
Date Mon, 28 Mar 2005 12:16:36 GMT
how do you send the file to the user? is it going through a servlet, or is
it just "normal file download" through e.g. apache? in the later case, it
will get complicated....
easy solution is to serve the file through a servlet, and if your servlet
doesn't get any ioexception during sending the file, and exits normally from
eg. doGet() or doPost(), than the file should've been received by the user's
browser. but there is still a small chance that the user didn't get it if
there is a proxy inbetween, which gets the whole file even if the user
cancels the download. but normaly that shouldn't happen as most proxies do
not cache files, expecially if you set the cache http headers correctly.

kr,
guenther


--
Günther Wieser

creative-it
Guglgasse 6/1/11/1
A-1110 Wien
Austria
http://www.creative-it.com


-----Original Message-----
From: Kelly C. Goedert [mailto:kelly.goedert@nexxera.com] 
Sent: Monday, March 28, 2005 1:13 PM
To: user@struts.apache.org
Subject: download finished

Hi

I have an application that allows users to download some files. Is it
possible to know if the download finished correctly (if the file was really
received by the user)?

Kelly.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message