struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Günther Wieser <>
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.


Günther Wieser

Guglgasse 6/1/11/1
A-1110 Wien

-----Original Message-----
From: Kelly C. Goedert [] 
Sent: Monday, March 28, 2005 1:13 PM
Subject: download finished


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)?


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message