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 Servlet API used for connecting database?
What are all the advantages of servlet over cgi?
How does tomcat servlet container work?
Difference between doget and dopost?
How can we achieve transport layer security for our web application?
What's the use of servletcontext?
Why are http servlets used in programming?
What are the supporting protocol by HttpServlet ?
Write a simple servlet program to print the contents of html.
How do servlets work?
What is the major difference between context parameter and context attribute?
What is pure servlet?
What is difference between jsp and servlet?
What do you mean by session tracking?
What is dispatcher servlet?