What happens if the init() method of a Servlet throws an exception?

  • Servlet becomes inactive
  • Servlet continues to initialize
  • Servlet fails to initialize
  • Servlet restarts
If the init() method of a Servlet throws an exception, the servlet fails to initialize, and the servlet container may mark the servlet as unavailable.
Add your answer
Loading...

Leave a comment

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