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
When a servlet accepts a call from a client, it receives two objects. What are they?
What is called servlet container?
How do you design microservices?
How do we share data using 'getservletcontext ()?
What are the common methods that are included in the http servlet class?
What are the life cycle methods of a servlet?
Explain the difference between servletconfig and servletcontext in servlet?
How is the get () method different from the post() method?
What are the types of servlets? Explain
What must be implemented by all servlets?
Write a servlet to upload file on server.
How can we perform any action at the time of deploying the project?
How do you run a servlet?
How native code can be used in a servlet?
What is servlet collaboration?