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 meant by a servlet?
What is servlet in simple terms?
When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?
What is servlet and list its types?
How can you run a servlet program?
What is meant by session? Tell me something about httpsession class?
Differentiate between get and post?
Write a simple servlet program to print the contents of html.
What do you mean by a filter and how does it work?
How are filters?
What are all the protocols supported by httpservlet?
Explain the lifecycle of a servlet?
Differentiate between the web server and application server?
What is servlet? Explain
What is the need of servlet filters?