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 is the difference between portlet and servlet?
What is servlet and its life cycle?
Why is a constructor needed in a servlet even if we use the init method?
How do you communicate in between Applets and Servlets?
What is the process to implement doget and dopost methods?
What is the difference between forward () and sendredirect () functions in servlet? Explain
What do you mean by chaining in servlet?
How can we implement a jsp page?
What mechanisms are used by a Servlet Container to maintain session information?
How servlets are deployed in java?
What's the architecture of a servlet package?
How do you load an image in a Servlet?
What is the use of request dispatcher interface?
What are the exceptions thrown by servlets? Why?
What is servlet in web technology?