what is the advantage of using Servlets over CGI programming?
Answer Posted / janet
Servlets are only instantiated when the client first
accesses the program. All subsequent accesses are done to
that instance.This keeps the response time of servlets lower
than that of CGI programs, which must be run once per
hit.also because servlet is instantiated only once,all
accesses are put through that one object. This helps in
maintaining objects like internal connection,pooling or user
session tracking and lots of other features.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the procedure for initializing a servlet?
How are filters?
what is the different between a servlet and a cgi? Why do you go for servlet rather than cgi?
What is api in servlet?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
What is meant by a servlet?
What are the kinds of http requests?
Why doesn’t a servlet include main()? How does it work?
Explain how does JSP handle run-time exceptions?
What is called servlet mapping?
Explain Action Servlet?
How we can get ip address of client in servlet?
Explain the difference between a web server and a web container?
What are the mechanisms used by a servlet container for maintaining session information?
Explain the war file?