What is the role of JSP in MVC Model?
-
View
-
Model
-
Controller
-
none
A
Correct answer
Explanation
In MVC architecture, JSP serves as the View layer, responsible for presenting data to users. JSP's strength is templating and rendering HTML with dynamic content. Servlets typically act as Controllers (handling request processing), and JavaBeans/POJOs serve as Models (data and business logic).