最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

java - Force browser to reload applet everytime - Stack Overflow

matteradmin5PV0评论

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

Post a comment

comment list (0)

  1. No comments so far