Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Clearing the applet cache through code

 
sreenath reddy
Ranch Hand
Posts: 415
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am using an applet which will use a web application , but the problem is often jars will be changing , but the applet caches the old jars resulting in some class descrepancies for the end user

If the cache is removed manually from the sun java console , then it works fine . ofcourse caching will increase the performance of the applet but often leads to problems like this

Can any one let me know if there is some piece of code which can be written in the applet so that it updates when ever the jars on the server get updated ??
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!