Firefox - Win32 - applet not loaded?
"pmgk" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I am using a small JavaScript program loading a signed Java applet .jar
file.
- This program works fine on Netscape 7.1 but not with Firefox 1.0.4
- When I debug the java script, I noticed that the applet was not loaded:
document.applets.length = 0
Note: I found that the signed Java applet was always re-loaded, after
cleanning
the cache, into the folder:
C:\Document & settings\<USER>\Application Data\Sun\
Java\Deployment\cache\javaapi\v1.0\jar
Question: Is there any particular configuration setting blocking the
applet
loading that I should modify when using Firefox?
Thank you.
For reference: code extract used to load: the javascript file dev.js,
and the signed applet SDev.jar.
file: Tomcat 5.5\webapps\dev\main.jsp
---------------------------------------------------------------------------------
<HTML>
<SCRIPT src="dev.js" type=text/javascript></SCRIPT>
<head>
<link href="includes/css.css" rel="stylesheet" type="text/css">
</head>
<body marginheight="0" >
<tr>
<%@ include file="includes/applet.jsp" %>
file: Tomcat 5.5\webapps\dev\includes\applet.jsp
----------------------------------------------------------------------------------
<!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<OBJECT
classid="clsid:xxxxx-xxxx-xxxx-xxxx-xxxxx"
WIDTH = 0 HEIGHT = 0
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-win.cab#Version=1,4,0,0">
<PARAM NAME = CODE VALUE = "DevApplet.class" >
<PARAM NAME = ARCHIVE VALUE = "SDev.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="true">
<COMMENT>
<EMBED
type="application/x-java-applet;version=1.4"
CODE = "DevApplet.class"
ARCHIVE = "SDev.jar"
WIDTH = 0
HEIGHT = 0
scriptable=true
pluginspage="http://java.sun.com/products/plugin/index.html#download">
<NOEMBED>
</NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>
<!--"END_CONVERTED_APPLET"-->