• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet problem

 
Adithya Rayaprolu
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.
 
Tim Holloway
Saloon Keeper
Posts: 18359
56
Android Eclipse IDE 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic