struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Blidorf <so...@nolas.dk>
Subject Re: file download without opening a window
Date Wed, 06 Dec 2006 22:05:51 GMT
Thanks.

How can I add a header without opening a new window or redirect?

----- Original Message -----
From: <George.Dinwiddie@wellsfargo.com>
To: <user@struts.apache.org>
Sent: Wednesday, December 06, 2006 11:02 PM
Subject: RE: file download without opening a window


add a header "Content-Disposition attachment; filename=myFile.xml" using
response.addHeader()

> -----Original Message-----
> From: Søren Blidorf [mailto:soren@nolas.dk]
> Sent: Wednesday, December 06, 2006 4:56 PM
> To: Struts Users Mailing List
> Subject: OT: file download without opening a window
>
>
> Does anybody know how to make a form button, that starts
> downloading myFile.xml
>
> What I want is to make an onclick = "Save target as"
>
>
> Med venlig hilsen
>
> Søren Blidorf
> Nolas Consulting
> Web:  http://www.nolas.dk
> Mobil: +45 61676513
>

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