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
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).