can i call destroy() method in init() method of servlet

Answer Posted / tanuj

Shekar babu is an disgrace to java community should never
blog answers,destroy() is just to inform what is to be done
when the service call is terminated it is like
on_service_destroy() what is to be done.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What exactly is a servlet?

547


How can you use a servlet to generate a plain text instead of html?

595


What is load-on-startup in servlet?

586


What is MIME Type?

665


What are the types of protocols supported by httpservlet ?

707






What are important features of Servlet 3?

598


What are the types of servlet?

669


What are the drawbacks of cgi?

570


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

1744


Which event is fired at the time of session creation and destroy?

878


Tell us something about servletcontext interface.

628


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

574


What are the life cycle methods of a servlet?

593


What is preinitialization of a servlet?

584


How can we refresh automatically when new data has entered the database?

621