Accessing JAR Archive from WebJavaApplet
Posted: Fri Aug 07, 2009 2:57 pm
by Anonymous >> Mon, 4 Jun 2007 19:18:19 GMT
I'm trying to incorporate an applet I wrote into a form using a WebJavaApplet control. I've gotten it to work by specifying the .class file containing the applet object but I got access denied errors once I added code to make the applet a webServices client.
I found that I needed to sign the applet and once I did that I could use the applet in a simple web page. However, signing an applet requires that it be part of a JAR file. The applet is then instantiated from HTML using:
<APPLET code="PRTimesheet3.PyrlTime.class" archive="PyrlTimesheet.jar" mayscript name="18068.59" alt="" ALIGN=RIGHT height="372" width="706" hspace="0" vspace="0">
</APPLET>
There doesn't appear to be any way to specify an archive= attribute for the WebJavaApplet control. Is there any way to access an applet that is part of a Java archive?
Thanks,
John Rader
Flathead County Montana
I'm trying to incorporate an applet I wrote into a form using a WebJavaApplet control. I've gotten it to work by specifying the .class file containing the applet object but I got access denied errors once I added code to make the applet a webServices client.
I found that I needed to sign the applet and once I did that I could use the applet in a simple web page. However, signing an applet requires that it be part of a JAR file. The applet is then instantiated from HTML using:
<APPLET code="PRTimesheet3.PyrlTime.class" archive="PyrlTimesheet.jar" mayscript name="18068.59" alt="" ALIGN=RIGHT height="372" width="706" hspace="0" vspace="0">
</APPLET>
There doesn't appear to be any way to specify an archive= attribute for the WebJavaApplet control. Is there any way to access an applet that is part of a Java archive?
Thanks,
John Rader
Flathead County Montana