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

What is a server side include (ssi)

1159


Explain load on start-up and its importance?

1141


What is servlet instance?

1058


How can we refresh automatically when new data is entered into the database?

1105


What are some advantages of storing session state in cookies?

1019


Write all the phases defined in servlet life cycle?

1162


Can you use javascript in servlets?

1089


Which http method is said to be non-idempotent and idempotent?

1053


What is the difference between portlet and servlet?

996


Can you create a deadlock condition on a servlet?

1085


Explain url encoding in servlet?

1056


Can we use the constructor, instead of init(), to initialize servlet?

1099


What are the various ways of session supervision in servlets?

1014


Can we refresh servlet in client and server side automatically?

1058


What are the two important api's in for servlets?

1090