From a MVC perspective, Struts provides the

  1. Model

  2. View

  3. Controller

  4. None of Above


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Model - Struts does provide support for handling the model component in the MVC architecture. However, it is not the primary focus of Struts.

Option B) View - This option is correct because Struts provides the view component in the MVC architecture. It offers various features and components like JSP (JavaServer Pages) and custom tag libraries to handle the presentation logic.

Option C) Controller - Struts does provide support for handling the controller component in the MVC architecture. It offers an action-based framework where the controller logic is managed through action classes.

Option D) None of Above - This option is incorrect because Struts does provide support for both the view and controller components in the MVC architecture.

The correct answer is B) View. This option is correct because Struts primarily focuses on providing the view component in the MVC architecture.

Find more quizzes: