• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Applet not initiated probelm

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I have an applet that passes an object to my servlet and then read an object back from my servlet. I have a utility class that does the applet to servlet communication which my applet calls its static method. When I try to run my applet I get applet not initailised message. I have checked that the class path to the applet is ok.

I would like to know if there are any other reasons why the applet is not initialed apart from class path problem. Any suggestions would be most grateful.

Thanks in advance.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's many reasons for a not initiated message. An exception in the applet constructor or init() method, for example. Check your java console (if you're using the plug-in) for an exception trace.
Also, applets don't use the classpath. They are downloaded from the web server or, in the case of the appletviewer, loaded directly from the file system.
 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe you dont have a plugin. You must get it at java's site. Alternately, you may use HTMLConverter to convert your applets into object (it worked for me). Both these resources are available at java's site.
 
su ferrente
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joe. I checked the console for the exceptions and realised that applet can't find one of the class it needs. Problem solved! Many thanks.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic