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

Can we use threads in Servlets?

656


What is servlet and its use?

627


Name the different ways of session tracking.

570


Explain servlet life cycle?

619


What is servlet and its life cycle?

572






Which exception is thrown if the servlet is not initialized properly?

591


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

525


What do you mean by mime type?

553


What are the life cycle methods of a servlet?

593


Which HTTP method is non-idempotent?

618


What is servlet instance?

544


What is the difference between Server and Container?

618


Explain the difference between servlet and cgi?

611


what is servlet chaining?

623


Explain is servlet mapping?

582