aspose file tools*
The moose likes JNLP and Web Start and the fly likes How to Close the Pop-up when there is error on Java Web Start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "How to Close the Pop-up when there is error on Java Web Start" Watch "How to Close the Pop-up when there is error on Java Web Start" New topic
Author

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

Bhagat Singh Rawat
Ranch Hand

Joined: Apr 04, 2009
Posts: 93


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....

Thanks!

Brainbench Java 2.0 Fundamentals, J2EE 1.4
http://www.brainbench.com/transcript.jsp?pid=8192792
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to Close the Pop-up when there is error on Java Web Start