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: <6.1.2.0.0.20050419133909.01df6ec0@pop.gmail.com>
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
WebAIM.org


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?
>
>Jim
>
>Accessibility Consulting: http://jimthatcher.com/
>512-306-0931
Received on Tuesday, 19 April 2005 20:11:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:21 GMT