This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.