tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel McKee Cooper" <j...@mckooper.com>
Subject case (in)sensitive mime-mapping
Date Tue, 02 Sep 2008 16:50:13 GMT
The mime-mappings in web.xml look like:

   <mime-mapping>
       <extension>doc</extension>
       <mime-type>application/msword</mime-type>
   </mime-mapping>

Which works fine if your document is named "foo.doc", but fails
miserably for "foo.Doc", "foo.DOC", etc.  Is there a way to configure
Tomcat so that the extensions are case-insensitive?

Thanks!

-Joel

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message