what is the advantage of using Servlets over CGI programming?
Answer Posted / ravat
There is only one main difference between CGI and Servlet that CGI is not that much efficient as servlets ,because Wen each time request cames to CGI it ll start from first i.e loading,instantiation and ll consume more time but in the case of Servlet only once server is loaded and instance is created and it is reused to other request and wenever the new request cames just it ll make use of same object
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
When jsessionid is created?
Can you call a jsp from the servlet?
Difference between httpservlet and generic servlets?
What is a servlet-to-servlet communcation?
Explain is servlet mapping?
What is called Scriptlet?
Servlet is pure java object or not?
What is servlet in tomcat?
What is the use of servlet wrapper classes?
What is the difference between get and post methods?
Name the packages that work with servlet?
how the HTML data stored in web server?
why we should override only no-agrs init() method.
Can we fetch the attributes related to a servlet on a different servlet?
Why the container loads server at the application startup and how?