Search code examples
javajavascriptappletreloadpage-refresh

Force browser to reload applet everytime


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 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?


Solution

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