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

Testing Applets

 
Thunthu Ganapathy
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,
 
Tom P
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,
 
Swapan Golla
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.
 
paul wheaton
Trailboss
Pie
Posts: 21895
Firefox Browser IntelliJ IDE 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic