Prevent java.lang.NoClassDefFoundError of known classes in the Notes client
This tip describes how to prevent a Java error in the Notes client.
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(){} ...