Java Servlet Programming Question:
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Answer:
The servlet container determines which servlet to invoke based on the configuration of its servlets, and calls it with objects representing the request and response.
Previous Question | Next Question |
What is servlet container? | If a servlet is not properly initialized, what exception may be thrown? |