Thanks, that's the way I ended up doing it. Originally I wanted them to open in different browsers, but I think it's better to have the open directly in Excel so I added" attachement" to it.


Steve Yokanovich wrote:
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]



Reply via email to