Answer Posted / sanpar
the life cycle of the servlet:
Servlet class is loaded.
Servlet instance is created.
init method is invoked.
service method is invoked.
destroy method is invoked.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the major difference between servlet and applet?
What is the difference between get and post methods?
How can we create deadlock situation in servlet?
What is the difference between sendredirect() and forward() in a servlet?
Can we use threads in Servlets?
Is servlet a controller?
What is servlet initializer?
Where do you define dispatcherservlet?
What is context in servlet?
How the servlet is loaded?
What is the life-cycle of servlets?
Which method of the httpservletrequest object is used?
Explain url encoding?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
What is http servlet?