Solved

How to clear cache in browser from java applet

Posted on 1999-01-28
2
486 Views
Last Modified: 2008-03-06
Hello,
How to clear cache in browser from java applet (through coding). For example suppose i have wtitten a applet and put it into web server. Now anyone has accessed from browser. Now if i am changing something in applet code the current applet code may or may not be affected in that person's browser. beacause, browser always checks its local cache and then web server. So how i can clear browser cache buffer from applet code ?
Help me ( if possible send some source code)
Thanks...
0
Comment
Question by:vanit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
heyhey_ earned 50 total points
ID: 1234844
you can't do this from applet.

this is browser dependant behaviour (metaknowlenge)
0
 
LVL 16

Expert Comment

by:heyhey_
ID: 1234845
you can advise your users to use shift+Reload / Ctrl+Refresh if the want to be sure that they receive the latest applet version (but this doesn't work always too)

As you know, when you click on the "reload" button in Netscape, or "refresh" button on Explorer, the browser reloads the web page (and not from the cache).
Java classes however, in the above case, ARE taken from the cache. In order to force the browser to REALLY reload the classes, you hit "SHIFT-reload" on Netscape, or "CTRL-refresh" on Explorer.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
The viewer will learn how to implement Singleton Design Pattern in Java.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question