jws and tomcat

hi, i am using tomcat as my web server.

i am trying to launch a java application using jws but i get the error:

Bad MIME type returned from server when accessing resource: http://localhost:8080/examples/jsp/javawebstart1/Simulator.jnlp - text/plain

why do i get this error?

i already modified the tomcat/conf/web.xml file:

<mime-mapping>

<extension>

jnlp

</extension>

<mime-type>

application/x-java-jnlp-file

</mime-type>

</mime-mapping>

[554 byte] By [javasoca] at [2007-9-27 9:56:23]
# 1
Hi, did you try out some of the suggestions in the Unofficial Web Start FAQ at http://vamphq.com/jwsfaq.html ? - Gerald
geraldba at 2007-7-8 23:43:22 > top of Java-index,Desktop,Deploying...
# 2

Good if you set mime type to be presented by web server. (nothing to do with tomcat ... it has it already done.

What you have to do ( or any browsing user ) is to register that mime type with a browser.

It is done usually by JWS client installation. Usually means for following configurations:

linux, netscape4

windows, ie

Other combination (linux,mozilla; linux,konqueror; windows,netscape) must be done manually.

Pawel

pablo71a at 2007-7-8 23:43:22 > top of Java-index,Desktop,Deploying...