can i call init() method in destroy() method of servlset. ?

Answer Posted / suresh

when the sevlet is load the class files,in this time to call
init() method is called

destroy method used to the servlet remove from the memory

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages of servlets over cgi?

806


How can an existing session be invalidated?

852


What is servlet initializer?

684


What's the servlet interface?

802


What are the kinds of http requests?

771


What are the uses of servlet and what is servlet chaining?

768


What is servlet container. how it works?

853


What do you mean by request dispatcher in servlet?

849


Explain the features are in servlet 3?

794


Is servlet a framework?

730


What is the difference between the include() and forward() methods?

781


What if you need to span your transaction across multiple servlet invocations?

783


Why is Servlet so popular?

767


How will two or three servlets interact or communicate with each other?

1134


What is the element?

768