• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

find out the variables' value in the jnlp file

 
albert kao
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can use Java web start to start my Swing GUI application on the command line:
javaws http://localhost:7001/webstart/myapp/launch.jnlp

How to find out the variables' value ($$codebase, $$name, etc) in the launch.jnlp file?
Is there a "println" or "echo" command?

The launch.jnlp file is as follows:
 
sourabh girdhar
Ranch Hand
Posts: 71
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The "$$codebase" is a token that the JnlpDownloadServlet replaces with the codebase at the time of the request.

I don't think there is any way to echo or print variables in JNLP , but once you start web start application on your desktop. Go to Java in control panel and select application you are referring to. You can view JNLP by clicking "show jnlp" button on top panel. I think that should show the exact value of codebase derived to your local machine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic