Subj : Re: Detecting applet failures in Javascript To : Eric Geyer From : Brendan Eich Date : Mon Nov 17 2003 12:31 pm Eric Geyer wrote: > I have an applet on a page and would like to have some Javascript to > do a location.replace or something similar in these three cases: > 1. The applet code not found > 2. The user rejected the signed applet certificate approval window > 3. The browser is configured to block applet usage > In each of these cases the Java plugin throws an exception that I can > see on the status bar and in the Java plugin's console, but I cannot > find a way to catch that exception in Javascript. Is it possible? > Can someone provide an example? Wrong newsgroup -- m.dom is probably best. You can't handle the applet not loading from JS, but you can handle the page's load event. From onload, you should be able to detect that the applet didn't load, and then do a location.replace. /be .