tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: MS Power Point and Excel
Date Thu, 27 Jun 2002 16:38:03 GMT

The MIME type isn't being set correctly...the browser doesn't understand
what to do with those files.

As far as I know, you can tell tomcat about MIME types in your web.xml like
this:

<mime-mapping> 
  <extension>wml</extension>
  <mime-type>text/vnd.wap.wml</mime-type>
</mime-mapping>

John Turner
jturner@NOSPAM.aas.com


-----Original Message-----
From: BBui@sjm.com [mailto:BBui@sjm.com]
Sent: Thursday, June 27, 2002 12:29 PM
To: tomcat-user@jakarta.apache.org
Subject: MS Power Point and Excel


Hi,
 
I have ppt and xls files inside a Tomcat protected folder (using FORM-BASED
security).  They all come up gibberish.  If I move those files outside of
the secured area, they come up fine.  
 
Any idea, suggestion?
 
Bao-Ha Dam Bui
bbui@sjm.com
S. Jude Medical, Inc
651.765.1018
 

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


Mime
View raw message