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.
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.
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.
posted 15 years ago
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.
Oh, sure, you could do that. Or you could eat some pie. While reading this tiny ad: