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

When servlet object is created?

1076


How do we go with database connection and log4j integration in servlet?

1124


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

966


What exactly are the functions of servlet?

1036


Explain load on start-up and its importance?

1070


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

1319


Explain url encoding?

943


What is generic servlet class?

1013


What is called servlet container?

1041


What are some advantages of storing session state in cookies?

967


How can we achieve transport layer security for our web application?

969


What is the use of servlet context?

993


How will two or three servlets interact or communicate with each other?

1398


Is java servlet still used?

996


What do you mean by session tracking and also explain its techniques?

903