Even afterI extended the StreamResult to be able to set the content-desposition 
dynamically, Internet explorer would open the file in a separate browser while 
firefox was prompting with the save/open dialog. However, the issue was fixed 
when I directly got the httpresponse and set the header there.


----- Original Message ----
From: Wes Wannemacher <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Monday, July 7, 2008 4:19:02 PM
Subject: Re: [S2] File download save dialog

Although Chris's solution works, I've always been partial to setting
content-disposition to attachment.

I can't tell you off the top of my head the struts-y way to do it, but
this is what it's meant for. 

-Wes


      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now at
http://ca.toolbar.yahoo.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to