W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

Re: Java Applet in object element

From: Shane Anderson <shane@cpd2.usu.edu>
Date: Tue, 19 Apr 2005 13:56:49 -0600
Message-Id: <>
To: <jim@jimthatcher.com>,w3c-wai-ig@w3.org

Hi Jim,

There are many problems with applets in Web pages. The <object> tag works 
correctly in IE on newer installations that do not have Microsoft's Java 
virtual machine (MSJVM) installed. If the Microsoft virtual machine is 
installed, it will always be invoked when launching an applet from a 
correctly marked up <object> tag. This is the case no matter what other 
virtual machines are plugged into the browser. The MSJVM uses Java version 
1.13 and came embedded in IE until about a year ago.

I did some thorough testing of applets a couple of years ago and found that 
there is no way to display an applet consistently across major browsers 
using valid markup. The one exception might be if the applet is built using 
Java version 1.13 or earlier, but then why use Java.

It seems odd to me that the Mozilla based browsers do not function 
correctly. In my tests they seemed to work correctly.

Shane Anderson

At 07:30 AM 4/19/2005, you wrote:

>I have just "completed" another search for an example of a Java applet in
>HTML content using the <object> tag. I have gotten an applet to work in IE
>and Opera with the object tag, but not in Netscape or Mozilla which seem to
>require the <embed> tag. My fundamental question is: is it possible to have
>an applet on an HTML 4.01 compliant web page that works in the major
>browsers, and if so an example please?
>Accessibility Consulting: http://jimthatcher.com/
Received on Tuesday, 19 April 2005 20:11:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:31 UTC