Failure to load Applet successfully
HI All
iam using applet tag in html file
ex: <APPLET name="TreeMenuFrom"
code="com.scand.jtree.TreeApplet.class"
width="300"
height="250"
ARCHIEVE="/applets/jtree_eval.jar"
codebase="/"
MAYSCRIPT>
<PARAM NAME="root_closeable" VALUE="">
<PARAM NAME="menu" VALUE="treeMenuFrom">
<PARAM NAME="image0" VALUE="images/item_open.gif">
<PARAM NAME="image1" VALUE="images/item_node.gif">
<PARAM NAME="image2" VALUE="images/item_open.gif">
<PARAM NAME="image3" VALUE="images/item_closed.gif">
</applet>
TreeApplet.class is exist under com/scand/jtree but iam getting following error while loading the applet
my web application structure
myproject/WebContent/Applet/com/scand/jtree/TreeApplet.class
using xmlc DOM the a.html file will convert into aDOM.java, application is referrring to a.
please tell me how do i load applet sucessfully
Java Plug-in 1.5.0_18
User home directory = C:\Documents and Settings\saipogu
Using JRE version 1.5.0_18 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\saipogu
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
load: class com.scand.jtree.TreeApplet.class not found.
java.lang.ClassNotFoundException: com.scand.jtree.TreeApplet.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)
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)
load: class com.scand.jtree.TreeApplet.class not found.
java.lang.ClassNotFoundException: com.scand.jtree.TreeApplet.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)
at sun.applet.AppletClassLoader.loadCode(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
Re: Failure to load Applet successfully
Split from http://www.java-forums.org/java-appl...ail-start.html
When you have a question, start your own thread -- they're free. Don't post to an old dead thread and don't hijack another poster's thread.
db
Re: Failure to load Applet successfully
Quote:
class com.scand.jtree.TreeApplet.class not found.
That name looks like a filename, not a class name. Remove the .class to get the class name.