HTML code for Java applets that fails gracefully?

From: Mickey Segal (ignored_at_example.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 17:41:32 -0500

What is the best HTML code to add to simple applet tag code so that it fails
gracefully if Java is not working?

These days there are so many ways to have Java not work, involving different
Java VMs and settings in different browsers to turn off Java. What is the
best way now to modify the applet tag code so the user is told that Java is
not working?

The type of HTML code I'd like to add to is of the form:
<applet code="java_working.class" WIDTH="100" HEIGHT="100"></applet>



Relevant Pages

  • Re: Newbie (Post#1): Help with Array of Objects
    ... I code Java in a TDD environment, ... > sense if you picture yourself in a war against the compiler to make your ... Best possible scenario. ... The code always fails at runtime. ...
    (comp.lang.java.help)
  • Re: Vista - jre1.6.0_05 - applets wont run
    ... and this is immediately after I install the JRE. ... Still it fails. ... I'm wondering if I need to wait for Java 6 Update 10? ... certain changes to become effective it required a reboot. ...
    (comp.lang.java.programmer)
  • Java 1.5 is not encoding integers properly
    ... There is an Authenticator in this AP request. ... I saw that Java 1.5 implementation is either sending ... A7060204FFFFF77F Fails ...
    (comp.protocols.kerberos)
  • Java 1.x.x stops some XP functions
    ... WindowsExplorer fails to come up ... like Roxio fail to come up. ... mailto fails to bring it up ... I have tried Java 1.3.1 and 1.4.2-b30, and with or without MS JavaVM. ...
    (microsoft.public.windowsxp.perform_maintain)
  • KeyGenerator issue
    ... I have a function add a JCE provider for an AES algorithm, ... fails every time I attempt to launch it. ... authenticate the provider JceProvider ...
    (comp.lang.java.programmer)