Answered Questions

  • What happens when we call destroy() method in init() method in servlets

    Yogesh

    • May 9th, 2017

    Nothing Special. It will just execute normal methods. But, it wont work like life cycle method. When JVm invokes these methods then only it will execute like life cycle method.

    Ashwani Gupta

    • Apr 29th, 2016

    overriding init() method wont do any special effect here since web containers initializes the servlets by calling init() method with ServletConfig object as parameter and not the init() method without...