Win a copy of The Java Performance Companion this week in the Performance forum!
    Bookmark Topic Watch Topic
  • New Topic

why s there an init() method?

 
stalin tyagi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 64971
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Covered in the Servlets FAQ.
 
    Bookmark Topic Watch Topic
  • New Topic