launching application from desktop shortcut

I'm having a problem with Java Web Start 1.6 with the desktop shortcuts. In WS 1.5 when the user launches a jnlp file from a web site, the href link of that jnlp file is read and the information returned from this link is used when creating the desktop shortcut. This is also true for WS 1.6. As for the launching of the application from the web site, WS 1.5 uses the jnlp file that is launched from the web site and not the jnlp file that is listed in the href link. With WS 1.6, the jnlp file listed in href link is read and this is the data that is used to launch the jnlp. In WS 1.5 I put a different jnlp file in as the herf link of the launched jnlp file. This way I can deftermine if the file was being launched from the desktop shortcut or from the web page.

Is there a way in Java Web Start 1.6 to determine if the java application is launched from the desktop shortcut or the web site?My application needs to know if it is being launch form the desktop shortcut. Thanks for your help.

[1008 byte] By [sts_5085a] at [2007-11-27 11:06:16]
# 1

After doing some more investigating, I have found that this only happens with the latest version of Java (1.6 update 2). What it is doing is loading the jnlp file that is located as the href link in the jnlp file that is launched. In other words, say you have two jnlp files; jnlp_a and jnlp_b. Say the href link inside jnlp_a points to the jnlp_b file. So the href line in the jnlp_a file would look like this 'href = "jnlp_b"'. In the latest version of Java, if you launch the jnlp_a file from a browser, Java Web Start will acutally load the jnlp_b file instead of the jnlp_a file that was launched. Should it be doing this? With the previous versions, JWS would read the href line and save this jnlp in the cache to be launched if the user creates a desktop shortcut. But it would still load the actual jnlp file that launched. Is this a bug in version 1.6 update 2?

sts_5085a at 2007-7-29 13:14:10 > top of Java-index,Desktop,Deploying...