Applet caching - without need to reload applet every visit to page
Posted on 2004-10-21
I have an applet (3rd party) included are 2 files a .jar and a .cab
i'm trying to create a simple html page that will just load the applet and stick it into cache so that the client
doesn't have to go through downloading the applet everytime they go to the pages where the applet is on.
here is my code
width="200" height="200" align="baseline"
<PARAM NAME="code" VALUE="com.chatspace.v400321.Chat">
<PARAM NAME="codebase" VALUE="file://c:/gmsapplet">
<PARAM NAME="archive" VALUE="cfs40321.jar">
<PARAM NAME="cache_archive" VALUE="cfs40321.jar">
<PARAM NAME="cache_version" VALUE="184.108.40.2061">
<PARAM NAME="cache_archive_ex" VALUE="cfs40321.jar;preload">
--------------- as you can see the applet name is cfs40321.jar
its located locally on any machine this is run from in c:/gmsapplet/ directory
this directory currently includes cfs40321.jar, cfs40321.cab and the above shown html file
this is running on a browser that has Java v 1.4.2 installed
and Microsoft VM is turned off in the browser settings
.... the applet does load and i get promted to "Accept" the certificate and all, BUT it is not stored in the cache..
this is my first time working with applets, what am i doing wrong?