最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Force browser to reload applet everytime - Stack Overflow

programmeradmin1浏览0评论

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.

Currently, when I refresh my page(contain applet) browser tries to reload the older applet which is causing plications 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?

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.

Currently, when I refresh my page(contain applet) browser tries to reload the older applet which is causing plications 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?

Share Improve this question edited May 23, 2017 at 10:34 CommunityBot 11 silver badge asked Oct 5, 2011 at 12:03 Umer HayatUmer Hayat 2,0015 gold badges34 silver badges59 bronze badges 2
  • Do the applet use static attributes? – Andrew Thompson Commented Oct 5, 2011 at 20:33
  • @Andrew Thompson: yes it do, but that can be handled. – Umer Hayat Commented Oct 6, 2011 at 4:20
Add a ment  | 

1 Answer 1

Reset to default 6

Provide a unique url for your applet each time :) like your.jar?uniquehash or your.1.2.3.jar

发布评论

评论列表(0)

  1. 暂无评论