How do I specify a JAR file when using the OBJECT tag with the Java Plug-in?

lalit choudhary

All you have to do is specify the archive with a PARM named ARCHIVE. Something like the following:

<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 790 HEIGHT = 478 NAME = "TestApplet" ALIGN = middle VSPACE = 0 HSPACE = 0 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">

<PARAM NAME = CODE VALUE = "com.safestone.axcessit.presentation.applet.ui.e_seriesMenu.Mainframe" >

<PARAM NAME = CODEBASE VALUE = "." >

<PARAM NAME = ARCHIVE VALUE = "axcessIT.jar" >

<PARAM NAME = NAME VALUE = "TestApplet" >

<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">

<PARAM NAME="scriptable" VALUE="false">

<COMMENT>

<EMBED type="application/x-java-applet;version=1.3" CODE = "com.safestone.axcessit.presentation.applet.ui.e_seriesMenu.Mainframe" CODEBASE = "." ARCHIVE = "axcessIT.jar" NAME = "TestApplet" WIDTH = 600 HEIGHT = 300 ALIGN = middle VSPACE = 0 HSPACE = 0 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin-install.html"><NOEMBED></COMMENT>

</NOEMBED></EMBED> </OBJECT> ************************** This Object tag should go into the body of yur html file and replace axcessIT1.3.jar with your jar and point the value of CODE to the full path of class file you want to call from your jar.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact