Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / archana

yes, u can call destroy() method in init() of Servlet.

but calling destroy() in this way doesnt unload servlet
from servlet container.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is api in servlet?

1073


What is the use of request dispatcher interface?

1053


What is cookie? Why is cookie used?

1103


What is a generic servlet?

1004


Explain web application directory arrangement?

1142


If my browser does not support cookie, and my server sends a cookie instance what will happen?

1142


What are the differences between servlet context vs servlet config?

1141


Is dispatcher servlet a singleton?

1070


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

2227


explain the advantages of servlet life cycle?

1035


Why are servlets used?

1086


Does servlet have main method?

1243


Write a program to show the functionality of servlets.

1060


Given the request path below, which are context path, servlet path and path info?

1096


When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?

1106