I'm not sure about the
piece - the code from my applet (the one you linked) looks like this:
The code parameter should point to the fully qualified class name that has your main method; I'm not sure if it's allowed to point at the .class object.
But to be honest I don't know if that's your problem - I don't actually know anything
about this stuff, I usually just start with something that I know works and modify it as needed to swap out the moving parts. Applets are generally a big stinky mess that I have neither the patience nor the inclination to fully understand.
Couple other things that might help figure it out: what happens when you go to the page you've created? Do you get an error in the Java console, or something else? Also, are you sure
all the files are in the right places on the server?