sorry. I mean 'cannot'. For a static csv file, it displays as plain text. For a non-static file, the response header type is set as 'application/vnd.ms-excel', the file IS opened in excel , BUT with all columns in a row squeezed in one cell.
thank you. -----Original Message----- From: Liu, Xiaoyan [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 4:51 PM To: 'Tomcat Users List' Subject: serving CSV file Hi, all, I can seem to make tomcat 4.0.2 serving csv (comma-seperated file) file. The files are open plain text in IE. I added the following mime-mapping to web.xml: <extension>csv</extension> <mime-type>application/vnd.ms-excel</mime-type> is there anything else needs to change? thank you. Liu
