tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Collins, Jim" <jim.coll...@uk.nomura.com>
Subject RE: serving CSV file
Date Fri, 10 May 2002 08:36:05 GMT
Set the Content-Disposition header. See here for more info
:http://support.microsoft.com/servicedesks/webcasts/wc011101/WCT011101.asp 

Regards

Jim.
> -----Original Message-----
> From: Liu, Xiaoyan [mailto:xliu@CapitalThinking.com]
> Sent: 09 May 2002 22:05
> To: 'Tomcat Users List'
> Subject: RE: serving CSV file
> 
> 
> 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:xliu@CapitalThinking.com]
> 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
> 


PLEASE READ: The information contained in this email is confidential
and intended for the named recipient(s) only. If you are not an intended
recipient of this email you must not copy, distribute or take any 
further action in reliance on it and you should delete it and notify the
sender immediately. Email is not a secure method of communication and 
Nomura International plc cannot accept responsibility for the accuracy
or completeness of this message or any attachment(s). Please examine this
email for virus infection, for which Nomura International plc accepts
no responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated any views or opinions
presented are solely those of the author and do not represent those of
Nomura International plc. This email is intended for informational
purposes only and is not a solicitation or offer to buy or sell
securities or related financial instruments. Nomura International plc is
regulated by the Financial Services Authority and is a member of the
London Stock Exchange.



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message