Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Testing Applets

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. I am testing my applets using html page. Whenever I change the program and after recompilation, without closing and reloading the browser how do I test the applet. Since refresh doesn't point to the recompiled class and refers the old class.
2. After loading the applet through browser I just deleted the class file from the respective directory. Eventhen it does the functionality. Does it mean that the browser completely loads the class file?. Isn't additional overhead except for database connectivity sort of thing?.
Thanks,
 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to clear the browser's cache.
 
Thunthu Ganapathy
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Deleting cache files didn't help me. Any modification to the html file reflects as known. But the sequence
1. Modify my .java file
2. Compile it
3. refresh the browser & deleting the cache didn't help me
Appreciate your suggestion.
Thanks,
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try (shift+refresh) asking the browser to fetch the new files again.
 
Trailboss
Posts: 23194
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With netscape, use shift + clicking on Reload
With IE, use control + clicking on Refresh
 
Thunthu Ganapathy
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes. It worked. Thanks a lot to the contributors for your time.
 
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic