I have a Javascript, called printLabel.js which is the source for a jsp, called Admin.jsp has the following
<object type="application/x-java-applet"
name="PrintApplet" width="1" height="1">
<param name="codebase" value="applet" />
<param name="cache_archive" value="PrintingApplet-0.1.3.jar" />
<param name="code" value="com.abc.PrintApplet" />
<param name="cache_version" name="1.0.0.1"/>
<param name="initial_focus" value="false">
<param name="permissions" name="all-permissions"/>
</object>
The printApplet function is contained in a jar file which is in the applet subfolder of the WAR file.
The javascript has document.PrintApplet.print(p1,p2,p3,p4);
The error that I am getting is that document.PrintApplet.print is not a function
Any assistance would be appreciated.
Trying to get the function recognized.