Question: What is the DispatcherServlet and what is its function?
- The DispatcherServlet process daemon assigns a separate Web Servlet Container process to each HTTP request that comes into the web server.
- It is a servlet that dispatches HTTP requests to registered handlers/controllers for processing.
- The DispatcherServlet API assigns a separate Web Servlet Node process to each additional HTTP request that comes into the web server.
- 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.