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 ? | 14 Yes | 2 No |
Post New Answer View All Answers
What do you mean by default initialization in java servlet?
Elucidate servlet attributes and its scope?
What are life cycle methods of a servlet?
What is Request Dispatcher?
Explain mvc pattern.
How can we upload the file to the server using servlet?
Describe in brief RequestDespatcher?
What is servlet container. how it works?
What is servlet collaboration?
How to upload a file to the server using servlet?
What is servlet and its life cycle?
What is the difference between Servlets and Applets?
What are the types of protocols supported by httpservlet ?
How httpservlet is different from the genericservlet?
What are its drawbacks of cgi?