INFO: Support for Multiple CABs or JARs in the Same APPLET Tag |
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?
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 kbSDKJava320 kbSDKJavaFAQ kbJavaVMFAQ
Issue type : kbinfo
Technology :
|
Last Reviewed: October 20, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |