tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tan, Lucan Tien Boon" <lucan.tien.boon....@intel.com>
Subject RE: How to enable MS PowerPoint and MSExcel file viewing when click on it instead of download first?
Date Thu, 04 Sep 2003 10:09:17 GMT
Hi Tom,
	Thank you every much. It work after adding below line for both powerpoint and excel file!

  <mime-mapping>
    <extension>xls</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>ppt</extension>
    <mime-type>application/powerpnt</mime-type>
  </mime-mapping>

	thx
regards,
lucan
-----Original Message-----
From: Tom Lyle [mailto:toml@limehouse.co.uk] 
Sent: Thursday, September 04, 2003 5:37 PM
To: Tomcat Users List
Subject: RE: How to enable MS PowerPoint and MSExcel file viewing when click on it instead
of download first?

if you add
    <mime-mapping>
        <extension>xls</extension>
        <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
to the web.xml in {tomcathome}/conf

IE will open any xls files served by Tomcat within excel (assuiming that the
client has Excel installed)


> -----Original Message-----
> From: lucan [mailto:lucan_tan@hotmail.com]
> Sent: 04 September 2003 09:48
> To: tomcat-user@jakarta.apache.org
> Subject: How to enable MS PowerPoint and MSExcel file viewing when click
> on it instead of download first?
>
>
> Hi,
>     I am installing Apache Tomcat and put some presentation
> meterial on it. I come to a problem that if I upload Microsoft
> Power Point and Microsoft Excel's file to the server, I will not
> able to view it by just clicking on it using IE (Internet
> Explorer) unless I download it. Microsoft Word Documents will not
> have this kind of problem.
>
>     Can any one do this before guide me out of this? The solution
> I use now is try to save all Power Point Presentation into web
> format but I have no idea what to do with the Excel file.
>
>     Thank you in advance for all your help :)
> regards,
> lucan
>


---------------------------------------------------------------------
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