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

Hi guys.. Well can u tell me that why there is need of
"init()" , i mean why can not we initialize the servlet object
with the help of constructors?
Thank you.

Answer Posted / karnbakar

as a programmer u cant create object for servlet ,container
invokes default constructor of the servlet

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the procedure of invoking different servlet in a different application?

961


How to find whether a parameter exists in the request object?

1055


The code in a finally clause will never fail to execute, right?

1004


What are the features added in Servlet 2.5?

1194


What is difference between cookies and httpsession?

1027


What is dispatcher servlet?

1008


What do you mean by default initialization in java servlet?

1055


Is servlet a controller?

960


What is the difference between Servlets and Applets?

967


Which protocol will be used by browser and servlet to communicate

989


What are the differences between servlet context vs servlet config?

1020


What are the objects involved when a servlet receives a call from client?

963


What is the difference between using getSession(true) and getSession(false) methods?

987


What is the difference between 2 types of servlets?

1084


What are sessions in servlets?

1017