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 init() method in destroy() method of servlset. ?

Answer Posted / arulmani

init()method will be called by the webcontainer with the
servlet object by passig the ServletConfig object,when the
servlet object will be created.

destroy()method will be called by the webcontainer when
servlet object will be destroyed

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3395


What is the structure of the http response

1174


Explain the difference between generic servlet and http servlet?

994


Explain the lifecycle of a servlet?

969


What are the types of servlets? Explain

1259


What are its drawbacks of cgi?

1121


Describe some assignments that are executed by servlet container?

1077


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

1057


Which method of the httpservletrequest object is used?

1089


Explain the different ways for servlet authentication?

1096


Can a jsp be called using a servlet?

1133


Why do we have servlet listeners?

1072


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

1450


When should you prefer to use doget() over dopost()?

1153


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2777