What are all the advantages of servlet over cgi?



What are all the advantages of servlet over cgi?..

Answer / Anant Lal

Advantages of Servlets over CGI include: platform independence, ability to handle multiple requests concurrently due to multithreading, reusability of code through inheritance and interfaces, improved performance due to request handling in memory space, and easier integration with Java technologies like JDBC.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Servlets Interview Questions

How to get the path of servlet in the server?

1 Answers  


how the jsp page can be regenerated?

2 Answers   HCL,


What is the difference between the include() and forward() methods?

1 Answers  


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

1 Answers  


What is URL Encoding?

1 Answers  


Where do you define dispatcherservlet?

1 Answers  


What is a Session Id?

1 Answers  


Given the request path below, which are context path, servlet path and path info? /bookstore/education/index.html

1 Answers  


What are the phases of the servlet life cycle?

1 Answers  


What do you mean by session tracking and also explain its techniques?

1 Answers  


What mechanisms are used by a Servlet Container to maintain session information?

1 Answers  


What is webservlet?

1 Answers  


Categories