Make sure you set the correct Content Disposition. Nils-H
On Wed, Nov 5, 2008 at 11:55 AM, Daniele Development-ML <[EMAIL PROTECTED]> wrote: > Hello everybody, > I have implemented a DownloadAction to control the access and to download > some files in my web application. The problem I am having is that when I try > to download any of those file, operation which is done through the above > action, I get as download file name the name of the action (e.g. > downloadJar.do) instead of the file name. > > I have searched for documentation / examples on how to overcome this but I > couldn't find anything. Perhaps it is not strictly related to Struts (I > sometimes come across PHP websites with the same problem), however I thought > it was worth asking the mailing list - even for other future references. > > Any help / suggestion is highly appreciated. > > Thanks! > > Dan > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]