Hi, I need to embed certain classes for my applet in the browser, As i understand we need to create the .cab files and .jar files for this.Each for IE and Netscape. I have created the jar files using jar cfm JarName.jar ManiFile.man -C ClassDir/*.class The Applet AppletClass.class is inside this jar. But when i call it from the Browser using the within_jar_filepath/AppletClass.class it says cannot init applet. I have included the JarName.jar file in the archive tag of the Browser. Can anyone hellp me at to what is that i am doing wrong or not doing at all. Also how do i make .cab files, I am using the jdk1.2.1 kit Thanx for ur help. Ashish T.
I just ran across this yesterday. It may be what you are looking for: <applet code="myclass.class" align="top" width="400" height="300" archive="myjar.jar"> <param name="cabbase" value="mycab.cab"> </applet> It looks like one or the other fails silently in each browser. Hope it helps! James Spellman
Joined: Mar 18, 2000
Cant do that, i am using the Java2 pakage so have to use pluggi ie OBJECT tag etc..