In
servlet life cycle we have init() method which is used to initialize the resources. Initialization can also be done with the help of a constructor. So why we are not using constructor and having a separate method init for initialization?
Thank You