HI All
iam using applet tag in html file
ex: <APPLET name="TreeMenuFrom"
code="com.scand.jtree.TreeApplet.class"
width="300"
height="250"
codebase="./com/scand/jtree"
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
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
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)