Java Servlet Programming Question:

Download Job Interview Questions and Answers PDF

If a servlet is not properly initialized, what exception may be thrown?

Java Servlet Programming Interview Question
Java Servlet Programming Interview Question

Answer:

During initialization or service of a request, the servlet instance can throw an UnavailableException or a ServletException.

Download Java Servlet Programming Interview Questions And Answers PDF

Previous QuestionNext Question
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?Given the request path below, which are context path, servlet path and path info?