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:[EMAIL PROTECTED]]
> Sent: Thursday, February 20, 2003 9:08 PM
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to