This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

applet in browser

 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am trying to debug an applet from a browser like IE. However, the browser seems to have the applet saved in some temporary directory because each time I changed the applet, the browser does not show. Also, even after I deleted the applet class from the code base directory, when I hit that page, that applet still runs!
Is there anyway I can erase the applet class from the browser entirely so I can debug?
Thanks.
 
Greg Harris
Ranch Hand
Posts: 1012
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have the same problem sometimes when i modify an applet and just hit "refresh" on my IE5.5 browser. i find that if i close the browser and then open it again the applet's changes have taken effect. it seems that the applet would change with the rest of the page, but i guess not.
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that your page is being cached by the browser. You may want to adjust your settings.
 
Cameron Park
Ranch Hand
Posts: 371
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you clear the cache? Forgive my ignorance but I am quite new at this...
 
jesse harris
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same problem with newly compiled applets not taking effect, theonly way I see changes is to re boot. I tried cleaning out temp internet files to no avail. any tips greatly appreciated
jesse
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cameron,
That is why I prefer Netscape for debugging applets. In Netscape you can easily clear the cache:
1. Goto Edit menu
2. Select Preferences
3. Open the Advanced tree (click on plus sign in front)
4. Select Cache
5. Click Clear Memory Cache button
6. Click Clear Disk Cache button
If you want to do numerous reloads you will also have to perform the following:
7. Place a '0' inside the memory cache textfield
8. Place a '0' inside the disk cache textfield
When you are done with your debugging just replace the removed values from memory and disk textfields.
For IE, it seems to be much harder. You will need to remove temporary internet files each time you want to reload your applet.
Good Luck,
Manfred.
 
joseph corner
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Came across this old post.
My solution with IE is to use ctrl-refresh on the page with the applet. This seems to flush old applets from the cache. As far as I can see, the cache for applets is separate from the cache for html resources. So emptying your browser's cache won't make any difference.
Cheers,
J
 
pradeep gopalan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai Cameron ,
The problem is with u r browser cache ,in order to avoid this u have to search for the page for every referesh hope this works..........
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="now">
<META HTTP-EQUIV="last modified" CONTENT="now">
Best of luck
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic