aspose file tools*
The moose likes Servlets and the fly likes why s there an init() method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

why s there an init() method?

stalin tyagi
Greenhorn

Joined: Mar 26, 2008
Posts: 1
hi guys,

I m totally newbee to servlet .And reading headfirst servlet and jsp .wan 2 know why s there an init() method?Why isn't constructor enough 4 initializing a servlet?
thanks in avdance
nd HAPPPY NEW YEARS..............
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61187
    
  66

Covered in the Servlets FAQ.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why s there an init() method?