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
What is the procedure for initializing a servlet?
What is the importance of init() method in Servlet ?
What is cgi and what are its drawbacks?
What do you mean by request dispatcher in servlet?
What do you mean by url pattern in servlet?
Which is the methods of generated servlet?
What is the inter-servlet communication?
What is servlet attributes and their scope?
Explain request dispatcher and its methods.
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
What are all the advantages of servlet over cgi?
How do you define a servlet?
What are the features added in Servlet 2.5?
How to get the server information in a servlet?
What is the use of httpservletresponsewrapper?