Understanding the Flow of Execution for a Struts 1.x application



1. The browser makes a request to the Struts application that is processed by ActionServlet (Controller).

2. ActionServlet (Controller) populates the ActionForm (View) object with HTML form data and invokes its validate( ) method.

3. ActionServlet (Controller) executes the Action object (Controller).

4. Action (Controller) interfaces with model components and prepares data for view.

5. Action (Controller) forwards control to the JSP (View).

6. JSP (View) uses model data to generate a response to the browser.