简体   繁体   中英

I want to stop applet caching

I want to disable applet caching so every time I put new version of jar file of my applet the client should see the new app and not the cached one. how can I do that ? note : I read this page http://cyclic.ucsd.edu/javafiles.html but I still need to press f5 to get the new version is there pragmatically way to do what the page http://cyclic.ucsd.edu/javafiles.html has done

I use

<html>
<title>The Hello, World Applet</title>
<hr>
<applet code=javaapplication4.test.class 
        archive="JavaApplication4.jar?v=200406180000"
        width=600 height=400>
</applet>
<hr>
</html>

and when I update the JavaApplication4.jar no thing happens

当我想更新JavaApplication4.jar文件时,我通过将v = 200406180000更改为另一个数字解决了该问题

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM