Java Servlet Programming Question:

What’s the advantages using servlets than using CGI?

Java Servlet Programming Interview Question
Java Servlet Programming Interview Question

Answer:

Servlets provide a way to generate dynamic documents that is both easier to write and faster to run. It is efficient, convenient, powerful, portable, secure and inexpensive. Servlets also address the problem of doing server-side programming with platform-specific APIs: they are developed with Java Servlet API, a standard Java extension.


Previous QuestionNext Question
What’s the difference between servlets and applets?What are the uses of Servlets?