What's the difference between servlets and applets?



What's the difference between servlets and applets?..

Answer / Sunil Kumar Guru

The main difference between servlets and applets is that servlets are server-side components while applets are client-side components. Servlets run on a web server, process HTTP requests, and generate dynamic content, whereas applets run inside a web browser and rely on the Java Virtual Machine (JVM) provided by the browser.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

What exactly are the functions of servlet?

1 Answers  


Describe the phases of servlet lifecycle?

1 Answers  


What is the difference between a generic servlet and http servlet?

1 Answers  


Explain Action Servlet?

1 Answers   Cap Gemini,


when the jsp page is translated to servlet?

5 Answers   HCL,


How are filters?

1 Answers  


What is the need of session tracking in web application?

1 Answers  


Differentiate between get and post?

1 Answers  


Hi............ When i am started the tomcat server it started. but it not load the jar files wht we deploving file.suppose we load the wapp folder in webapps. At running time it show the below error in tomcat server INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\web apps\wapp\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, s ection 9.7.2. Offending class: javax/servlet/Servlet.class How to slove this problem in my system. plz give answer for this problem.

5 Answers  


Why doesn’t a servlet include main()? How does it work?

1 Answers  


What is Generic Servlet and how it is different from Http Servlet?

5 Answers   Wipro,


How to get the IP address of client in servlet?

1 Answers  


Categories