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...

how a servlet is instantiated, whether the container calls
init() or by calling any other method? please somebody reply..

Answer Posted / harikumar

if we deploy our web root dir in webapps , then we call url
from the browser.
then after loading , it calls the init() method first.
There r two tow init() methods(first init() & second init
()).

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we create deadlock situation in servlet?

1359


How do you create a cookie using servlet?

1102


What are the phases of a servlet life cycle?

1062


Explain the jar and war files in servlet?

1047


What is load-on-startup in servlet?

1083


What do you mean by deployment descriptor?

970


What do you mean by session tracking and also explain its techniques?

913


How is the get () method different from the post() method?

919


What are the different ways we can maintain state between requests?

1059


Explain the role of dispatcherservlet and contextloaderlistener.

1134


What do you mean by web applications?

1132


What are different ways for servlet authentication?

1056


Explain load on start-up and its importance?

1079


What are the functions of the servlet container?

1566


What is ServletContext object?

1060