Multiple choice technology programming languages

What is the role of Servlet in MVC architecture?

  1. Displaying page data

  2. Connecting to database

  3. Routing Requests

  4. Performing front end validations

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In MVC architecture implemented with servlets, the Servlet acts as the Controller, receiving requests and routing them to appropriate Model components and View pages. The Controller handles request processing flow, not direct database connections, page display, or frontend validations which are handled by other components.