Answer Posted / prashant
1> Server loads the servlet.
2> Server creats one or more instances of the servlet
3> Server calls the init()method of each Servlet instance
4> Servlet request is received
5> Servlet service()method processes the request
6> Servlet calls the service()method of the servlet instance
7> Servlet service()method then process the request & send
the output to the client
8> Servlet waits until next request is received (if yes
continue from step no-4 )
9> Servlet is unloaded by the server by calling the destroy
()method
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What do you mean by mime type?
How do you load an image in a Servlet?
How is a servlet implemented in code?
What is SingleThreadModel interface?
Explain the custom jsp tags and the beans.
What does the term localization refer to?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
How the JSP file will be executed on the Server side?
What are sessions in servlets?
What do you mean by cgi?
Explain load on start-up and its importance?
What is cookies in servlet with example?
Which method of the httpservletrequest object is used?
What is servlet attributes and their scope?
What is context in servlet?