What advantages do servlets have over CGI programs?

Answer Posted / hariom rao

there are two advantages:-
(a)in servlet,it is not necessary to create a seperate
process to handle client request.
(b)servlets are platform independent because they are
written in java.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the procedure for initializing a servlet?

543


Is servlet a framework?

539


What's the use of servletcontext?

679


Explain how does JSP handle run-time exceptions?

580


Is it good idea to create servlet constructor?

738






How can we refresh automatically when new data has entered the database?

617


What is called servlet container?

658


What are the different methods involved in the process of session management in servlets?

661


What are the difference between RMI and Servlets?

1049


How can the referrer and the target urls be used in servlet?

529


How would you create deadlock on your servlet?

618


What is setattribute in servlet?

552


What exception should be thrown when servlet is not properly initialized?

553


What are all the advantages of servlet over cgi?

603


What are sessions in servlets?

574