title: Java Web Start from desktop shortcut when using wireless LAN with authentication site fails
body: <p>I have a Java Web Start application that installs shortcuts on the desktop to allow launching later.  The JNLP is hosted in a normal Apache Web Server which is accessible without requiring authentication.  This works correctly.</p>
  
  <p>However, I have a problem in the following scenario</p>
  
  <ul>
  <li>The user launches for the first time and creates the shortcuts successfully</li>
  <li>User disconnects, and then logs in to a Wireless Network that requires authentication with a log-in site (typical, for example, in hotels:  when you type www.google.com it instead redirects you to a login site)</li>
  <li>Without login in first, the user attempts to connect by double clicking on the shortcut</li>
  </ul>
  
  <p>What happens in this case, is that the JWS machinery downloads the jnlp url, but instead of getting the jnlp it gets the login site.  It is then unable to launch the JNLP application as this web site can not be parsed, and furthermore, the link is now forever broken, as it points to an invalid locally cached JNLP.  The only solution seems to be to manually remove the links and connect online to download the JNLP again</p>
  
  <p>IS there a way that I can avoid this issue?</p>