A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JNLP and Web Start
Configuring Tomcat for JWS
Joined: Aug 27, 2005
Aug 27, 2005 06:17:00
I'm using Apache
5. I want to write an application build around JWS.
I want to configure the
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?
Joined: Apr 30, 2003
Aug 30, 2005 13:09:00
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:
<mime-mapping> <extension>jnlp</extension> <mime-type>application/x-java-jnlp-file</mime-type> </mime-mapping>
I agree. Here's the link:
subject: Configuring Tomcat for JWS
MIMEType in Tomcat for Java Web Start !
Only get plain text file with Tomcat 3.3
JNLP and tomcat 3.2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014