![]() |
VOOZH | about |
Apache Struts is an open-source web application framework developed by the Apache Software Foundation for building Java-based web applications. It is based on the MVC (Model-View-Controller) architecture, which separates business logic, presentation logic, and user input handling into different components.
Shows how a client request flows through the Controller, Model, and View components in the Struts MVC framework.
👁 Working Flow of StrutsThe diagram illustrates how a request flows through the Struts MVC framework.
The main components of the Struts framework are:
An Action class processes user requests and executes business logic.
ActionForm is used to collect data entered by the user.
JSP pages are used to display information and collect user input.
The struts-config.xml file defines mappings between requests and action classes.
The working of Struts can be understood through the following steps: