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

how many jsp scripting elements are there and what are those?

1009


What is the difference between sendredirect() and forward() in a servlet?

1012


Explain the features are in servlet 3?

1047


What is the difference between genericservlet and httpservlet

1076


Explain the difference between get and post method in servlet?

1134


Who is responsible for writing a constructor?

1256


Explain the difference between a web server and a web container?

996


What do you mean by singlethreadmodel interface?

1041


Write a program to show the functionality of doget and dopost method?

1211


Explain the custom jsp tags and the beans.

1058


What is cgi and what are its drawbacks?

1059


What is session tracking?

1201


How can a servlet be used to generate plain text instead of html?

946


What is the difference between encodeRedirectUrl and encodeURL?

1107


explain the advantages of servlet life cycle?

973