File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes Java Web Start and Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Reply Bookmark "Java Web Start and Tomcat" Watch "Java Web Start and Tomcat" New topic
Author

Java Web Start and Tomcat

Salima Lalani
Ranch Hand

Joined: Aug 15, 2002
Posts: 59
Hi,
I would like to deploy a Java Swing application using java Web Start with Tomcat as a Web Server. I went through couple of documents on net which explains the creation of the jnlp file, jar files etc. I would like to know how to put the jar files on tomcat server, meaning where should i put jnlp files, jar files etc.
I would be grateful for any help.
Thanks
Salima
Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2559

make a folder "test" under webaps, put your jar file, jnlp file inside this folder. Create a small HTML file (say - jws.html) which will have link to this JNLP file as follows -

Keep this HTML file also in this test folder, and then you can request the html file in the browser such as -
http://localhost:8080/test/jws.html (if tomcat running on 8080 port)
You will have to add follwoing MIME type in either server.xml of tomcat or in the web.xml of your test folder(test\WEB-INF\web.xml).

HTH,
- Manish
[ August 20, 2003: Message edited by: Manish Hatwalne ]
 
 
subject: Java Web Start and Tomcat
 
Threads others viewed
Image file in cannopt access-getting error
This Weeks Giveaway:
Run JAR file in Applet
deploying JNLP in Jetty web server of jboss.
Converting JWS app to standalone app
developer file tools