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

Can we refresh servlet in client and server side automatically?

1061


Why do we have servlet filters?

1030


How to create war file?

1175


What is the difference between a generic servlet and http servlet?

1000


What is called Scriptlet?

1106


How do you get the ip address of the client in servlet?

1015


What is the process to implement doget and dopost methods?

992


What is the difference between the http servlet and generic servlet?

1151


How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255

3396


Explain the differences between jsp and servlet.

1007


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

1450


What is a servlet?

1150


When a client request is sent to the servlet container, how does the container choose which servlet to invoke?

1033


Explain the lifecycle of a servlet?

976


Explain the working of service() method of a servlet.

968