Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: How to serve static EXCEL or POWERPOINT files from Tomcat ?

Altankov Peter

2004-01-13


I was talking about the case mimetype 'text/plain' which is set in the dist conf/web.xml
.... Snap ...
  <mime-mapping>
    <extension>xsl</extension>
    <mime-type>text/xml</mime-type>
  </mime-mapping>
.... /Snap ...

, combined with a .xsl and .ppt extensions.


> -----Original Message-----
> From: Ralph Einfeldt [mailto:ralph.einfeldt@(protected)]
> Sent: 13 Януари 2004 г. 11:26
> To: Tomcat Users List
> Subject: RE: How to serve static EXCEL or POWERPOINT files
> from Tomcat ?
>
>
> In my experience not really.
>
> In IE Version 6.0.2600... a file with mimetype
> 'application/vnd.ms-excel' and
> an extension that is not registered for Excel resulted in
> openening Word (at
> least for some users). Renaming the file to .xls solved the problem.
>
> > -----Original Message-----
> > From: Altankov Peter [mailto:PAltankov@(protected)]
> > Sent: Tuesday, January 13, 2004 10:05 AM
> > To: Tomcat Users List
> > Subject: RE: How to serve static EXCEL or POWERPOINT files
> > from Tomcat ?
> >
> >
> > They are fixed in 6.0
> >
> > > -----Original Message-----
> > > From: Cox, Charlie [mailto:ccox@(protected)]
> > > Sent: 12 Януари 2004 г. 19:14
> > > To: 'Tomcat Users List'
> > > Subject: RE: How to serve static EXCEL or POWERPOINT files
> > > from Tomcat ?
> > >
> > >
> > > Actually Mozilla and Netscape can open Excel and Powerpoint
> > > based upon the .xls or .ppt extension if the mime-type is not
> > > set. However IE only opens them properly if you add the
> > > mime-type to web.xml. Otherwise you get a browser full of
> > > garbled text. I find this most amusing. (They may have fixed
> > > this in IE 6.0).
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.