This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

Applet not initiated probelm

 
su ferrente
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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.
 
Joe Ess
Bartender
Posts: 9339
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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.
 
Shashank Agarwal
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic