INFO: Support for Multiple CABs or JARs in the Same APPLET TagLast reviewed: January 29, 1998Article ID: Q177159 |
The information in this article applies to:
SUMMARYThe Microsoft Virtual Machine for Java that ships with Internet Explorer 4.0 as well as with the SDK for Java 2.0 provides support for having multiple CABs and JARs in the same applet tag.
MORE INFORMATIONA 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=foo.class name=foo width=320 height=240 > <param name=cabinets value=foo.cab,bar.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. For example, the APPLET tag in your HTML file can look like this:
<applet code=foo.class ARCHIVE=foo.zip,bar.jar name=foo width=320 height=240 > </applet>You can include an Archive attribute and Cabinets parameter in the same <applet> 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.
REFERENCESIn 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:
ARTICLE-ID: Q177168 TITLE : INFO: How Does the Java Virtual Machine Search for JavaYou can download the latest release build of the Java Virtual Machine from http://www.microsoft.com/java/. For more information on the latest version of the Microsoft Virtual Machine, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q163637 TITLE : 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 page 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |