tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NP-WAYLAND DAN <NP-WAYLAND_...@subcontractor.PRC.com>
Subject hard coded mime types
Date Mon, 07 Aug 2000 20:30:41 GMT
I need to add a mime type to my Jakarta Tomcat server to handle jnlp files.
I tried adding 

<mime-mapping>
        <extension> jnlp </extension>
        <mime-type> application/jnlp </mime-type>
</mime-mapping>

to my web.xml file, and it didn't work.  The .jnlp file still gets served up
as though it's xml.  I read in this mailing list that some of the stuff from
web.xml such as mime types has become hard coded.  Is there any way to add a
new mime type to handle these jnlp or Web Start files appropriately?

--
Dan Wayland
Southwest Research Institute
(703)883-8467
np-wayland_dan@subcontractor.prc.com


Mime
View raw message