You have to export your applet and place it into your document root
either as a jar file or class file along with your html or jsp
Unfortunatelly by doing this you won't be able to put a breakpoint in
it to use the debugger, in the other hand if you try to doit from
VAJava you may experience security problems.
One suggestion.
Doing applet-servlet communication is hard since using http tunneling
can be sometimes a little brainstorming.
Check the project SwingML at http://swingml.sourceforge.net