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 ? | 3 Yes | 0 No |
Post New Answer View All Answers
What’s the difference between genericservlet and httpservlet?
What are session variable in servlets?
What is servlet in tomcat?
If some new data has entered the database, explain how can a servlet refresh automatically?
What is http servlet in java?
Why don't we write a constructor in a servlet?
What is servlet used for?
Why is a constructor needed in a servlet even if we use the init method?
What is the difference between Server and Container?
What are the objects involved when a servlet receives a call from client?
Write a program to show the functionality of servlets.
What is the difference between the http servlet and generic servlet?
Servlet is pure java object or not?
What is the procedure for initializing a servlet?
What is the difference between Difference between doGet() and doPost()?