Hi Prof,
How to write the applet code for embedding in other websites where jar is uploaded?

for example,
http://lookang.wikispaces.com/

i uploaded the jar file to wikipspaces
http://lookang.wikispaces.com/file/detail/ejs_users_sgeducation_lookang_Momentum1D2010web.jar

the page currently has 2 embed codes

the first one works well, because the codes is modified to read from  http://www.phy.ntnu.edu.tw/ntnujava/ejsuser/14019/ejs_Momentum1D2010web.jar

[code]

Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop.
[/code]

but now the second embed code i want to experiment and draw the applet codes from http://lookang.wikispaces.com/file/detail/ejs_users_sgeducation_lookang_Momentum1D2010web.jar

i tried
[code][/code]

but i got an error message
[quote]APPLET tag missing CODE parameter.
load: class users.sgeducation.lookang.Momentum1D2010web_pkg.Momentum1D2010webApplet.class not found.
java.lang.ClassNotFoundException: users.sgeducation.lookang.Momentum1D2010web_pkg.Momentum1D2010webApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2ManagerAppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed:http://lookang.wikispaces.com/ejsuser/14019/users/sgeducation/lookang/Momentum1D2010web_pkg/Momentum1D2010webApplet/class.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 7 more
Exception: java.lang.ClassNotFoundException: users.sgeducation.lookang.Momentum1D2010web_pkg.Momentum1D2010webApplet.class
[/quote]

I thought everything is inside the jar, how come cannot find class users.sgeducation.lookang.Momentum1D2010web_pkg.Momentum1D2010webApplet.class ?

what should the embed codes be for different url address of the jar?
thanks!