1

I'm using this code to define an applet with jar cache versioning:

<object classid="clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA">
<param name="width" value="500" />
<param name="height" value="200" />
<param name="codebase" value="client/" />
<param name="name" value="FooApplet" />
<param name="codetype" value="application/x-java-applet" />
<param name="cache_option" value="plugin" />
<param name="cache_archive" value="a.jar, b.jar, c.jar, d.jar" />
<param name="cache_version" value="1.0.0.0, 1.0.0.0, 1.0.0.0, 1.0.0.0" />
<param name="code" value="com.teo.MyClass.class" />
<param name="initial_focus" value="false"/>
</object>

My code is a lot bigger, i have more jars than this but only 3 get downloaded. And I don't understand what makes these 3 jars special because you can find all the jars in the codebase folder.

Any help would be appreciated.

UPDATE: it seems the jars are downloaded, to a separate cache, because I enabled some tracing in the Java console. But my .class file is not found by the applet in one of the jars although the jar is downloaded.

UPDATE 2: i figured this out: if you have a version.xml file your cache_version values should correspond to the versions in the version.xml. This is essentially the same as the versioned Java Web Start protocol for JNLP.


(cmd + shift + 4)

=> then you can select the area you want, screen shot will store in your desktop.

(cmd + shift + 4) then a space

=> will take the screen shot of the currently focussed window and save it in your desktop.

(cmd + s)

=>Open your simulator and Press cmd+s or goto file=> save screen shot will save the screen shot of the simulator to the desktop.

4

0 回答 0