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 must be implemented by all servlets?

1095


If servlet receives multiple requests, how many objects will it create?

1375


Why servlet is used as controller ? Not JSP? I want complete explation?

1123


What are the different methods of session management in servlets?

1000


Explain the features are in servlet 3?

1047


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

1027


What is meant by Servlet? What are the parameters of service method?

1050


What is the dispatcher servlet?

980


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

1109


Is tomcat a servlet container?

1037


How can an existing session be invalidated?

1161


Differentiate between get and post?

1158


What are its drawbacks of cgi?

1116


What do you mean by singlethreadmodel interface?

1041


What is MIME Type?

1137