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

Which method the Servlet container call to create the
instance of the servlet?

Answer Posted / m.gangadhar from sathya techno

The ServletContainer is used default zero argument
constructor to create servlet instance then after it calls
init(ServletConfig cg) it internally calls init()for
initialization puposes.


Plz guys init() is not used for creation of servlet instance

Is This Answer Correct ?    26 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are life cycle methods of a servlet?

1116


What are the advantages of servlets over traditional cgi?

1148


What is servlet and list its types?

1134


How to make sure a servlet is loaded at the application startup?

1092


Is it good idea to create servlet constructor?

1303


What are all the ways for session tracking?

1229


What is the difference between sendredirect() and forward() in a servlet?

1060


What do you mean by cgi?

1017


What do you mean by httpservlet and how it is different from the genericservlet?

1130


Write the code to get the server information in servlet.

1112


Why do we have servlet wrapper classes?

1117


How do you run a servlet?

1111


What is java servlet?

1111


What’s the difference between genericservlet and httpservlet?

1196


How can the referrer and the target urls be used in servlet?

1062