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 are the important functions of filters?
What are the difference between session and cookies in servlet? Explain
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What do you mean by web applications? Explain web application directory arrangement?
What are the type of protocols used in httpservlet?
What are the steps that are involved in using the httpservlet class?
What is servlet lazy loading?
What is difference between server and servlet?
How to rectify errors in java servlet while compilation?
What is servlet api used for conneting database?
Describe servlet?
Given the request path below, which are context path, servlet path and path info?
What is cgi and what are its drawbacks?
How do I know if java is running on linux?
What is the requirement of servlet config and servlet context implemented and how are they implemented?