What advantages do servlets have over CGI programs?

Answer Posted / guest

Servlets are written in Java and are platform-independent.

Servlets run under the JVM and may be secured using the Java
sandbox.

Servlets run as threads and may be preloaded to improve their
performance.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a servlet to upload file on server.

593


How is an application exception handling is done using a servlet?

539


What is the need of session tracking in web application?

583


What are the ways to handle multi-threading in servlets?

595


Explain mvc pattern.

592






What are the objects involved when a servlet receives a call from client?

545


Why servlet is faster than jsp?

562


Why do we use sendredirect() method?

546


What is cgi?

594


How can you run a servlet program?

601


How do you find out what client machine is making a request to your servlet

529


How to create war file?

612


What is http servlet?

579


What is the major difference between servlet and applet?

540


Write all the phases defined in servlet life cycle?

588