what is the control flow in servlet when we send a request?

Answer Posted / ravikiran

when we are requesting a particular resource in the
server,the comiled class will be loaded into the container
calls the no-arg constructor and init() then the container
will create request,response objects and pass it to the
corresponding doXXX() method based on the http method of the
form,allocates a thread and do the business logic and send
the response back to the client by sending the thread to a
connection pool and destroying the request and response objects

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1749


What is servlet? Explain

584


What is the advantage of Servlets when compared with other server side technologies?

1861


Can you call a jsp from the servlet?

548


Which is the methods of generated servlet?

686






What is cookies in servlet with example?

523


Tell us something about servletcontext interface.

628


What is the servlet?

625


What is the requirement of servlet config and servlet context implemented and how are they implemented?

546


What is meant by servlet? What are the parameters of the service method?

583


When servlet is loaded?

596


Can we override destroy method in servlet?

507


What is difference between cookies and httpsession?

549


What is the difference between CGI and Servlet?

592


How do we go with database connection and log4j integration in servlet?

710