You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christian Amann <c....@ac-multimedia.de> on 2001/09/18 15:45:38 UTC

Mime-Type JNLP does not work

Hello Friends,

I want to add an additional MIME-Type for accessing JavaWebStart-Files
(*.jnlp). I was trying the following in TOMCAT_HOME/conf/web.xml:

<mime-mapping>
	<extension>jnlp</extension>
      <mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>

Bad thing - it does not work. The browser receives a plain XML-file instead
of invoking JavaWebStart. I also tried to place this line in
/WEB-INF/web.xml. Same thing.
If I add this Mime-type in IIS, everything works properly.

Any ideas?

Thanks a lot :)

Christian Amann