Solved

How to clear cache in browser from java applet

Posted on 1999-01-28
2
483 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
String array comparison 4 56
swing controls 2 37
Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given PHP 5 38
JVM error from eclipse 1 25
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

737 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