permaculture playing cards
The moose likes JNLP and Web Start and the fly likes Configuring Tomcat for JWS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Configuring Tomcat for JWS" Watch "Configuring Tomcat for JWS" New topic

Configuring Tomcat for JWS

Richa Anand

Joined: Aug 27, 2005
Posts: 6
Hello All,
I'm using Apache Tomcat 5. I want to write an application build around JWS.

I want to configure the servlet container to use the appropriate MIME type. The server must return the application/x-java-jnlp-file MIME type for JNLP files in order for Java Web Start to invoke.

How can I do that?
Tim McGuire
Ranch Hand

Joined: Apr 30, 2003
Posts: 820

Starting with 4.0.x Tomcat is already configured to recognize .jnlp I would expect Tomcat 5 is the same.
to check it out, open TOMCAT_HOME/conf/web.xml

and look for the following:
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Configuring Tomcat for JWS
It's not a secret anymore!