Question: What is the DispatcherServlet and what is its function?

  1. The DispatcherServlet process daemon assigns a separate Web Servlet Container process to each HTTP request that comes into the web server.
  2. It is a servlet that dispatches HTTP requests to registered handlers/controllers for processing.
  3. The DispatcherServlet API assigns a separate Web Servlet Node process to each additional HTTP request that comes into the web server.
  4. It is a servlet that dispatches an array of background daemon processes that allocate memory and CPU cycles to each request.

Answer: The correct answer of the above question is Option B:It is a servlet that dispatches HTTP requests to registered handlers/controllers for processing.