?
Solved

How to clear cache in browser from java applet

Posted on 1999-01-28
2
Medium Priority
?
489 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 100 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

Industry Leaders: 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

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

762 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