Applets run on the client. Servlets run on the server. Are you trying to run them both in the same virtual machine? This would not make sense. Or are you having problems embedding an applet in the HTML output from the servlet?
Hi!, Same way as you run applat in an html. The class file should reside in the webroot directory of the server where you keep all of your htmls. Now in the servlet use the HTML applet tag with code case and the path. The path will the virtual path to you class file like http://www.vikinsa.com/vikinsa/myapplet.class. This will make the applet run. Also the params can be provided as usual.