When init() and Distroy() will be called.
Both init() and destroy() method called only once within its lifecycle. The init() method will be called after instantaition of servlet, i.e. after the constructor calling. The destroy() method will be called when servlet is removed from the server, i.e. when server shuts down.