When an embedded applet is killed during the Classload Process, the JVM will not find the required Java classes until Notes is restarted. This happens when the document refreshes before all applet resources are loaded. When you call a dummy Java function via JavaScript in the onload function, the client stays in the onload function until all applet resources are loaded and all documents refresh after Classloader is finished.
Simple JavaScript Call off an
dummy Function in Java:
document.applets['AppletName']
.dummy()
Java dummy Function:
...
public class AppletName
extends AppletBase{
...
public void dummy(){}
...
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in May 2003