servlet life cycle?

Answer Posted / rajshri

servlet life cycle..
1) loading of class
2) instantiation of that loading class
3) call init() method
4) call service() method
5) call destroy() method

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the packages that work with servlet?

547


How do you design microservices?

625


If a servlet is not properly initialized, what exception may be thrown?

627


Write a hello world program using servlets.

593


When to use doget() and when dopost()?

629






How can I send user authentication information while making URL Connection?

547


How to read request headers from servlets?

562


What is Servlet API used for connecting database?

620


How can we invoke another servlet in a different application?

706


Is it good idea to create servlet constructor?

744


Is servlet a framework?

543


Explain the servlet filter.

540


What do you mean by web applications? Explain web application directory arrangement?

540


Explain the steps involved in placing a servlet within a package?

571


Explain their methods? Tell me their parameter names also have you used threads in servlet?

583