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 / ravikiran.chd

no the servlet config object is only available at the time
init() method call

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which application server is best for java?

1065


Define the lifecycle for executing a jsp page.

1080


What is Client-Server Computing?

2419


What is servlet initializer?

971


What is servlet interface?

1223


Tell us something about servletcontext interface.

1085


What is meant by a web application

1015


Explain the custom jsp tags and the beans.

1060


What are the difference between session and cookies in servlet? Explain

1038


Difference between httpservlet and generic servlets?

1103


When should you prefer to use doget() over dopost()?

1149


What are the new features added to servlet 2.5?

1090


Name the packages that work with servlet?

994


What are the various ways of session supervision in servlets?

996


Elucidate servlet attributes and its scope?

1011