The servlet is removed from service by the servlet container via the __________ method.

  • destroy()
  • doDelete()
  • init()
  • service()
The destroy() method is called when the servlet is being removed from service by the servlet container. It allows the servlet to release resources before it's taken out of operation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *