How to Prevent an Applet from Unloading across web pages?

Posted by Francis Shanahan on Stack Overflow See other posts from Stack Overflow or by Francis Shanahan
Published on 2009-03-16T22:23:39Z Indexed on 2010/05/27 17:41 UTC
Read the original article Hit count: 184

Filed under:
|
|
|

I have a large applet that takes some 40 seconds to initialize (cabs are cached so ignore download time for this question).

The issue is, if the user goes to Page A which launches the applet (single window) and then navigates to page B, the applet is unloaded. If the user goes back to Page A, they incur the 40 seconds init time once again.

I'd like to be able to launch the applet, incurring the 40 seconds init time once and only once. The applet needs to reside inside a single browser window (the same window as my web application). In other words, I cannot launch the applet in a popup.

Does anyone have any creative ideas around how to prevent the applet unloading?

© Stack Overflow or respective owner

Related posts about java

Related posts about JavaScript