K
Kristoffel
I have developed an applet, and it works when I call it from a local
html-file.
But, when I call it from a webserver, my browser (mozilla 1.4 & IE6)
give me the error 'applet TestApplet notinited'. In the logs of the
webserver (vqserver), I read that the applet was sending (with correct
number of bytes).
This is the error in the java-console:
java.lang.NoClassDefFoundError: /applets/TestApplet (wrong name: TestApplet)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
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)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
what do I wrong?
regards,
K
html-file.
But, when I call it from a webserver, my browser (mozilla 1.4 & IE6)
give me the error 'applet TestApplet notinited'. In the logs of the
webserver (vqserver), I read that the applet was sending (with correct
number of bytes).
This is the error in the java-console:
java.lang.NoClassDefFoundError: /applets/TestApplet (wrong name: TestApplet)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
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)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
what do I wrong?
regards,
K