Microsoft KB Archive/177159

{|
 * width="100%"|

INFO: Support for Multiple CABs or JARs in the Same APPLET Tag

 * }

Q177159

-

The information in this article applies to:


 * Microsoft virtual machine
 * Microsoft Internet Explorer for Windows 95
 * Microsoft Internet Explorer for Windows NT 4.0
 * Microsoft SDK for Java, versions 2.0, 2.01, 2.02, 3.0, 3.1, 3.2

-

SUMMARY
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.

MORE INFORMATION
A parameter named Cabinets may contain multiple CAB files, separated by commas. For example, the tag in your HTML file can look like this:

  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.

For example, the APPLET tag in your HTML file can look like this:



You can include an Archive attribute and Cabinets parameter in the same tag. If you do, the Virtual Machine for Java will search the CAB files from the Cabinets parameter and ignore the Archive attribute. Note that browsers other than Internet Explorer 4 will generally ignore the Cabinets parameter.