...

View Full Version : Displaying applets in XHTML-strict documents



snowtown
11-17-2002, 10:15 AM
Hi,

I have a valid XHTML1.0-strict document in which I'm trying to display a Java applet using the <object> tag. I've tried the following code but with no success.

<object classid="java:test.class" codetype="application/java" height="80" width="350">
.
.
(Some parameters)
.
.
</object>

The .class file is in the same directory as the .html file but it still doesn't work (IE6).

Any help would be much appreciated.

Thanks!

MCookie
11-17-2002, 06:44 PM
Hi,
Well you have the applet, the code and the browser. But do you have the right plug-in? By default, IE6 has the wrong one. Could that be it?
http://java.sun.com/getjava/download.html

snowtown
11-17-2002, 08:19 PM
That was most certainly it! Thank you!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum