aspose file tools*
The moose likes JNLP and Web Start and the fly likes Signing jnlp and using $$codebase-variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Signing jnlp and using $$codebase-variable" Watch "Signing jnlp and using $$codebase-variable" New topic

Signing jnlp and using $$codebase-variable

Marcus Lindblom

Joined: Jun 30, 2009
Posts: 1
Hello all!

I have a problem which I cannot find a way around (if there is one?).

In our product we have a GUI which we use JWS to run.
The jar-file containing the jnlp-file is signed at package-time and we cannot tell where the product will be installed so we have used the JnlpDownloadServlet to set the $$codebase variable.
The problem is that the signed jnlp-file will always differ from the one JWS wants to start since the signed one will look something like this:

and the user will get this:

Anyone know if there is a solution to the problem?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451


Welcome to the Ranch.
Have you considered generating the JNLP file from a servlet?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
I agree. Here's the link:
subject: Signing jnlp and using $$codebase-variable