• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Web Start and Tomcat

 
Salima Lalani
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic