Struts framework is based on ---- architeture
-
MVS
-
MVC1
-
MVC
-
MVC2
Reveal answer
Fill a bubble to check yourself
D
Correct answer
Explanation
Struts framework is based on MVC2 architecture (Model 2), where a single controller servlet handles requests and dispatches to views. MVC2 improves on MVC1 by separating controller logic from views.
AI explanation
Struts is a Java web framework built on the MVC Model 2 (MVC2) architecture. In Model 2, a central controller (Struts' ActionServlet/filter dispatcher) handles request processing and delegates to Action classes for business logic, while JSPs act purely as the view — unlike Model 1, where JSPs handled both control and view logic directly. The option 'MVC1' is not the correct term here; the standard answer is MVC2.