This is what I use that seems to work fine in IE:
data.getResponse().setHeader("Content-disposition", "filename=" + "filename.csv");
Hope this works for you.
Marty Phee wrote:
I've got a RawScreen that sends back an Excel spreadsheet. The file coming back is the name of the servlet, ExcelExport.xls. This causes a problem with IE. I really need it to come back as different names like ExcelExport1.xls, ExcelExport2.xls...
What's the best way to do this?
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
