Answer Posted / giridhar gangapatnam
Life Cycle of Servlet:
1.Servlet Loading.
2.Servlet instantiation:
After Servlet instantiation and before calling init() method
ServletConfig object is created by Container.
3.Servlet initialization: At that time init() method is called.
4.Request processing:In this stage service() method is called
and at that time Request and Response objects are created by
Container.
5.Servlet deinstantiation:At this stage destroy() method
will be called.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is cgi?
What is a cookie What is the difference between session and cookie
What is the use of send redirect () method?
Explain the concept of ssi ?
What do you mean by web applications?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
Difference between java beans & servlets?
Define declaration.
How is the get () method different from the post() method?
How do you run a servlet?
How can we upload the file to the server using servlet?
How do I use cookies to store session state on the client?
Write a program to show the functionality of servlets.
What is the dispatcher servlet?
what is multiple server?