Problem in loading Applet jar file in a JSP file.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Antony_Paulraj
Posted On:   Tuesday, May 16, 2006 11:22 PM

I have a web application that uses applets. I am getting no class definition found error when trying to load the applet from JSP page. All the necessary class files availale in jar file. I tried to include the jar file using the folling command. Same problem i am getting for .zip file also. No Java 2 SDK, Standard Edition v 1.4 support for APPLET!! "AppletClass.class" file is available in Application.jar. When loading applet says load: class Application.AppletClass.class not found. java.lang.ClassNotFoundException: Application.AppletClass.class at sun.applet.AppletClassLoader.findClass(Unknown Source)    More>>

I have a web application that uses applets. I am getting no class definition found error when trying to load the applet from JSP page. All the necessary class files availale in jar file. I tried to include the jar file using the folling command. Same problem i am getting for .zip file also.


No Java 2 SDK, Standard Edition v 1.4 support for APPLET!!



"AppletClass.class" file is available in Application.jar. When loading applet says

load: class Application.AppletClass.class not found.
java.lang.ClassNotFoundException: Application.AppletClass.class
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)



But when i try to load the applet after extracting the jar file, it is working fine. What is the problem in code? Can anyone help me to solve this problem?

   <<Less
About | Sitemap | Contact