强制浏览器重新加载每次小程序 [英] Force browser to reload applet everytime

查看:797
本文介绍了强制浏览器重新加载每次小程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经depolyed用我的小程序的 deployJava.js 并没有使用或标记。因此,首先,所有这些问题,你可能会认为是这个副本的问题,不完全重复的。

I have depolyed my applet using deployJava.js and not using or tag. So, first of all, all those questions you might think as duplicate of this questions, are not exactly duplicate.

目前,当我刷新我的网页(含小程序)浏览器尝试重新加载旧的小程序,这是造成并发症像无响应的小程序。我想强制重装小程序,从服务器而不是从浏览器缓存,每次我刷新页面,而且也没有任何手工操作(如关闭/重启浏览器或手动浏览器缓存中删除)的时间。有没有一种方法来实现它,任何属性或参数来传递runApplet(...)(在<一个函数href=\"http://download.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#appletTagAttributes\"相对=nofollow> deployJava.js ),使用JavaScript或HTML?

Currently, when I refresh my page(contain applet) browser tries to reload the older applet which is causing complications like non-responsive applet. I want to force reload applet, from server and not from browser cache, every time I refresh page and that too without any manual work (like closing/reopening browser or manual browser cache delete). Is there a way to achieve it, any attribute or parameter to pass in runApplet(...) (a function in deployJava.js ), using javascript or HTML?

推荐答案

每一次:)像 your.jar?uniquehash 或<提供一个唯一的URL为您的小程序code> your.1.2.3.jar

这篇关于强制浏览器重新加载每次小程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆