I have already set the content type to application/octet-stream in my xml file
<action name="ticketFileDownload" class="ccol.action.ticket.TicketFileDownload">
          <result name="success" type="stream">
             <param name="contentType">application/octet-stream</param>
         </result>
 </action>
The problems occurs with IE browser, Using firefox 2.0.15, I get the download 
dialog box but using IE the box is opened in a browser window.



----- Original Message ----
From: Chris Pratt <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Monday, July 7, 2008 2:31:08 PM
Subject: Re: [S2] File download save dialog

One way is to set the content type of the downloaded item to something
the browser doesn't know how to handle itself, like
application/octet-stream
  (*Chris*)


      __________________________________________________________________
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