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 / yathirajulu

yes, we call destroy() in init(),because both are called once.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define context initialization parameters.

1045


What's the advantages using servlets than using cgi?

1005


What are the servlet events?

1055


What is the directory structure of web application?

991


Why doesn’t a servlet include main()?

1058


What is difference between server and servlet?

1098


How native code can be used in a servlet?

4073


What is servlet container?

1120


What is the difference between Difference between doGet() and doPost()?

1305


What is the difference in between the httpservlet and generic servlet?

1128


When using servlets to build the HTML, you build a DOCTYPE line, why do you do that?

1107


How can you push data from an Applet to a Servlet?

1105


What is the difference between using getSession(true) and getSession(false) methods?

1053


When servlet object is created?

1167


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

1019