• 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

Applet problem

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I wrote an applet, when I run this using appletviewer, its perfectly running, but using either Internet Explorer or Netscape, it says, 'Applet cannot start:ERROR'. WHat could be the problem? Thanks in advance.
 
Adithya Rayaprolu
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was using HashMap, so the browsers could not recongnise, when I changed it to Hashtable, everything is fine. Thanks.
 
Saloon Keeper
Posts: 22123
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's because all the major web browsers come with an antique version of Java that predates HashMaps.
Except of course for IE 5.5 and later, which don't include Java at all...
 
Adithya Rayaprolu
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. I wrote an applet which automatically reloads a webpage at regular intervals. You can access this at www.geocities.com/sriadikav/AutoReload.html I used AppletContext.showDocument method to direct the browser to get the document. This program works perfect in Netscape Navigator, I mean it reloads the page, it contacts the website host and fetches the document. But in Internet Explorer, it does not reload the page, it just displays the same document again and again, I mean it does not contact the website host.
[ April 05, 2002: Message edited by: Adithya Rayaprolu ]
 
Adithya Rayaprolu
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After 400 or 500 iterations, the netscape is crashing. Can somebody please tell me what might be the problem? Thanks in advance.
 
No matter how many women are assigned to the project, a pregnancy takes nine months. Much longer than this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic