tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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 

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

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

View raw message