Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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: 22260
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.
 
    Bookmark Topic Watch Topic
  • New Topic