wood burning stoves 2.0*
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
Author

Configuring Tomcat for JWS

Richa Anand
Greenhorn

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?
Regards,
Richa
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:
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Configuring Tomcat for JWS
 
Similar Threads
PLEASE HELP
MIMEType in Tomcat for Java Web Start !
Dynamic JNLP
Only get plain text file with Tomcat 3.3
JNLP and tomcat 3.2