| Author |
how to run applet in servlet
|
utpal kumar bhowmick
Greenhorn
Joined: Jan 26, 2002
Posts: 1
|
|
|
i can't run applet in servlet.for that what i have to.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14491
|
|
|
Nice terse question. What means?
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Graeme Brown
Ranch Hand
Joined: Oct 13, 2000
Posts: 193
|
|
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?
|
 |
Vikas Aggarwal
Ranch Hand
Joined: Jun 22, 2001
Posts: 140
|
|
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.
|
Vikas Aggarwal
Founder @
Leads and Deals Limited
www.LeadsAndDeals.com
|
 |
 |
|
|
subject: how to run applet in servlet
|
|
|