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 purpose of dispatcherservlet properties?
How can the referrer and the target urls be used in servlet?
Why session tracking is needed?
How printwriter is different from servletoutputstream?
What do you mean by url pattern in servlet?
Explain the concept of ssi ?
Why is httpservlet declared abstract?
What is the difference between a generic servlet and http servlet?
What is servlet in simple terms?
What does the term localization refer to?
Where do you define dispatcherservlet?
Can you create a deadlock condition on a servlet?
What is Servlets and explain the advantages of Servlet life cycle?
What is the importance of init() method in Servlet ?
Write a simple servlet program to print the contents of html.