struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nils-Helge Garli Hegvik" <nil...@gmail.com>
Subject Re: Struts Download Action - renaming download file
Date Wed, 05 Nov 2008 11:29:14 GMT
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 <antonio.petrelli@gmail.com> wrote:
> 2008/11/5 Nils-Helge Garli Hegvik <nilsga@gmail.com>:
>> 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 about the content type and
> the input stream.
>
> Antonio
>
> ---------------------------------------------------------------------
> 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