INFO: Support for Multiple CABs or JARs in the Same APPLET TagID: Q177159
|
The Microsoft virtual machine that ships with Internet Explorer 4.0x as well as with the SDK for Java 2.0 and later provides support for having multiple CABs and JARs in the same applet tag.
A parameter named Cabinets may contain multiple CAB files, separated by commas (,). For example, the <applet> tag in your HTML file can look like this:
<applet
code=test.class
name=test
width=320
height=240 >
<param name=cabinets value=test.cab,pack.cab>
</applet>
An Archive attribute may contain multiple JAR files or ZIP files, separated
by commas. The JAR files or ZIP files may be compressed or uncompressed,
but the manifest of the JAR file is ignored, including any digital
signature information the manifest may contain.
<applet
code=test.class
ARCHIVE=test.zip,pack.jar
name=test
width=320
height=240 >
</applet>
In order to understand how the Virtual Machine searches for the class requested from a Web page, please see the following article in the Microsoft Knowledge Base:
Q177168 INFO: How Does the Virtual Machine Search for Java Classes?
Q163637 INFO: Availability of Current Build of Microsoft VM for JavaFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
Additional query words: multiple cabs jar files applet
Keywords : kbnokeyword kbCommandLine kbSDKJava300 kbVJ kbSDKJava310 JVM jcab kbSDKJava320
Version : WINDOWS:2.0,2.01,2.02,3.0,3.1,3.2
Platform : WINDOWS
Issue type : kbinfo
Last Reviewed: August 9, 1999