testApplet.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>testApplet.html</title>
</head>
<body BGCOLOR="#ffffff" LINK="#000099">
<h2>testApplet.html</h2>
<blockquote>
<SCRIPT LANGUAGE="JavaScript"><!--
var _info = navigator.userAgent; var _ns = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
//--></SCRIPT>
<COMMENT><SCRIPT LANGUAGE="JavaScript1.1"><!--
var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0)));
//--></SCRIPT></COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 600 HEIGHT = 400 codebase="http://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0"><NOEMBED><XMP>');
else if (_ns == true) document.writeln('<EMBED type="application/x-java-applet;version=1.2" java_CODE = "testApplet.class" java_ARCHIVE = "testApplet.jar" WIDTH = 600 HEIGHT = 400 pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE = "testApplet.class" ARCHIVE = "testApplet.jar" WIDTH = 600 HEIGHT = 400 ></XMP>
<PARAM NAME = CODE VALUE = "testApplet.class" >
<PARAM NAME = ARCHIVE VALUE = "testApplet.jar">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">
</APPLET>
</NOEMBED></EMBED></OBJECT>
</body>
</html>