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 servlet container. how it works?

1088


Explains the differences between context.getrequestdispatcher() and request.getrequestdispatcher()?

968


What is servlet instance?

989


What do you mean by servlet context?

1058


What is the major difference between servlet and applet?

944


If some new data has entered the database, explain how can a servlet refresh automatically?

1234


How do we translate jsp?

990


what is multiple server?

2257


What is the element?

1005


Which are the different ways you can communicate between servlets?

942


Explain url encoding?

941


What is the purpose of dispatcherservlet properties?

1017


What are important features of Servlet 3?

1055


What is servlet used for?

1093


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

914