What advantages do servlets have over CGI programs?

Answer Posted / ravikiran

cgi makes use of multiprocessing.Means each and every
request is processed by an individual process.where as
servlets make use of multithreading.A single process with
multiple threads to accomplish the particular task

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is httpservlet and how it is different from genericservlet?

604


Differentiate between the web server and application server?

558


What is the web server used for running the Servlets?

579


What is servlet in web technology?

575


How do you configure a centralized error handler in servlets?

531






What is the difference between servlet and filter?

528


How we can call a jsp from the servlet?

531


What is difference between cookies and httpsession?

544


Why the container loads server at the application startup and how?

579


Can servlet have a constructor ?

595


What is servlet and list its types?

541


Explain mvc pattern.

592


What is the main purpose of java servlets?

583


What are the differences between servlet context vs servlet config?

575


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

574