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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
> Sent: 04 September 2003 09:48
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]