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

servlet is instantiated after the .class file is loaded on
the memory.Then, the instance will be initialized by calling
init()

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do servlets work?

1044


What is httpservlet and how it is different from genericservlet?

1103


What is Servlet API used for connecting database?

1106


Explain mvc pattern.

1026


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

1099


What do you mean by interservlet communication?

1071


What are the mechanisms used by a servlet container for maintaining session information?

1030


How do I support both get and post from the same servlet?

1211


Why the container loads server at the application startup and how?

1066


What is http servlet? Explain with the help of an example.

1068


What is called Session Tracking?

1192


How does tomcat servlet container work?

1083


What is difference between server and servlet?

1092


What is called a session?

1176


How can we create deadlock situation in servlet?

1433