Solved

How to clear cache in browser from java applet

Posted on 1999-01-28
2
474 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
  • 2
2 Comments
 
LVL 16

Accepted Solution

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

this is browser dependant behaviour (metaknowlenge)
0
 
LVL 16

Expert Comment

by:heyhey_
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Fibonacci challenge 11 82
strDist challenge 35 84
json format text only 4 65
HashMap Vs TreeMap 12 47
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now