File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Clearing the applet cache through code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Clearing the applet cache through code" Watch "Clearing the applet cache through code" New topic

Clearing the applet cache through code

sreenath reddy
Ranch Hand

Joined: Sep 21, 2003
Posts: 415
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 ??
I agree. Here's the link:
subject: Clearing the applet cache through code
Similar Threads
Running Applet from DLL
Cached audioclip
Applet Gui is not updating inside JSP pages
Java Profiling-MemoryLeakTesting using JRat
Applet > JNLP