Hi tomcat-user,

i have some troubles using the setContentType method.
I want to generate a CSV file of my database data and send it to the
browser. the browser should then say "save file as filenam.csv" ...

what i do is:

response.setContentType("application/msexcel;name=\"TUInventory.csv\"\nContent-Disposition:
 attachment;filename=TUInventory.csv;");

this works for netscape browsers, but ie wants to save index.html.

any tips?

Gerd



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

Reply via email to