Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How to Close the Pop-up when there is error on Java Web Start

Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi Guys,

I have a situation where I am launching a JNLP file from a pop-up window (JSP). If the client system has all required jars then JNLP launches successfully and calls Applet, Applet connects to POS Device and sends back either error or response message by calling a JavaScript method on pop-up window. Accordingly I display message on Parent JSP and close the pop-up window.

But, when client machine doesn't have required jar files. The Pop-up window launches JNLP and Java Web Start throws some Exceptions at initializing the Applet. In this situation I don't have any control over pop-up window as well as on Applet, therefore I couldn't close the pop-up window.

Please suggest how to handle this situation. If I get exception on Java Web Start at launching the JNLP then how can I close the pop up window.

Please share your ideas....

Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic