Re: Struts Download Action - renaming download file

2008-11-05 Thread Nils-Helge Garli Hegvik
I'm not sure if this is the same "DownloadAction" as you are thinking of, but I found this resource about setting the Content Disposition: http://wiki.apache.org/struts/StrutsFileDownload#head-54368bb2778429bd6d32b4ea42b2a15ca111f19a Nils-H On Wed, Nov 5, 2008 at 12:13 PM, Antonio <[EMAIL PROTEC

Re: Struts Download Action - renaming download file

2008-11-05 Thread Antonio
2008/11/5 Nils-Helge Garli Hegvik <[EMAIL PROTECTED]>: > Make sure you set the correct Content Disposition. That's the problem: it seems that there is no way to set the content disposition in the StreamInfo, or maybe I cannot see where it can be done. The StreamInfo interface provides only info ab

Re: Struts Download Action - renaming download file

2008-11-05 Thread Nils-Helge Garli Hegvik
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 i

Struts Download Action - renaming download file

2008-11-05 Thread Daniele Development-ML
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