tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: Excel sheets
Date Fri, 21 Feb 2003 14:15:40 GMT
add the content type to /conf/web.xml for csv files. 

  <mime-mapping>
    <extension>csv</extension>
    <mime-type>application/excel</mime-type>
  </mime-mapping>

you will have to restart tomcat for this change.
Charlie


> -----Original Message-----
> From: David Epstein [mailto:de11@columbia.edu]
> Sent: Thursday, February 20, 2003 9:08 PM
> To: tomcat-user@jakarta.apache.org
> Subject: Excel sheets
> 
> 
> 
> I have a website that serves up files, which are often .csv 
> files. When
> I run the site using IIS (ick), a user with Excel on their 
> machine will
> see the .csv files automatically open in Excel. But when I use the
> Tomcat server, I can't get it to do the same. Is there an easy way to
> enable this functionality?
> 
> Any help appreciated.
> 
> David Epstein
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 

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


Mime
View raw message