Please help, we encounter similar problem but with IE5.5 only (no problem
with all Netscapes, and IE5.01 and below versions). Seems MS has changed
something in IE5.5

Kenneth

        -----Original Message-----
        From:   Gerd Trautner [mailto:[EMAIL PROTECTED]]
        Sent:   Wednesday, March 14, 2001 4:08 PM
        To:     tomcat-user
        Subject:        setContentType / File download

        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\"\nConte
nt-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]

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

Reply via email to