I am working on Apache Tomcat Server. I would like to know how I can create a JNLP File dynamically and launch it such that it starts the Webstart Environment. Please reply with some sample code if possible
As you know this is a great community in which to learn Java and we don't have too many rules around here, but we do have a Naming Policy. Please read this policy and adjust your display name accordingly.
First, javacorp isn't any closer to our policy than Scorpion King so, please read and follow the naming policy.
Remember, the JNLP file is simply a text file with a special extention and mime type. If you wish to dynamically generate this, you need to map the extention to the resource. You'll need to map the .jnlp extention to a servlet and use the servlet to generate the content or forward the request to a jsp to generate the content. Ensure in either that you set the mime type of the output correctly.