J
james.a.cleland
I'm sure this has been answered before, but I cannot find where. I've
recently switched from using <APPLET> to <OBJECT> for embedding my
java applets. During development, I would like to be able to disable
caching of my applets. It's not convenient to develop the applet as a
java application. I'm developing in Eclipse and serving the applet via
JSP. I need it to reload every time.
Here's what I have so far. The applet is communicating with the
servlet via ObjectInput/OutputStream and they share a jar which
defines data objects. The jars are available to the browser from the /
applets path. The below WORKS, but my applet is still cached. Using
IE7. Thanks for your input.
<object classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-
i586.cab#Version=5,0,0,5"
WIDTH = "200" HEIGHT = "200" >
<PARAM NAME = CODE VALUE = "path.to.my.applet.class" >
<PARAM NAME = CODEBASE VALUE = "/applets" >
<param name = "type" value = "application/x-java-
applet;version=1.5">
<param name = "scriptable" value = "false">
<PARAM NAME = "cache_option" VALUE="No" >
<PARAM NAME = "cache_archive" VALUE = "applet.jar,dataobj.jar">
</object>
recently switched from using <APPLET> to <OBJECT> for embedding my
java applets. During development, I would like to be able to disable
caching of my applets. It's not convenient to develop the applet as a
java application. I'm developing in Eclipse and serving the applet via
JSP. I need it to reload every time.
Here's what I have so far. The applet is communicating with the
servlet via ObjectInput/OutputStream and they share a jar which
defines data objects. The jars are available to the browser from the /
applets path. The below WORKS, but my applet is still cached. Using
IE7. Thanks for your input.
<object classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-
i586.cab#Version=5,0,0,5"
WIDTH = "200" HEIGHT = "200" >
<PARAM NAME = CODE VALUE = "path.to.my.applet.class" >
<PARAM NAME = CODEBASE VALUE = "/applets" >
<param name = "type" value = "application/x-java-
applet;version=1.5">
<param name = "scriptable" value = "false">
<PARAM NAME = "cache_option" VALUE="No" >
<PARAM NAME = "cache_archive" VALUE = "applet.jar,dataobj.jar">
</object>