So just to summarize how the execution flows in the struts application.
- User (browser) makes a request to the Struts application that is processed by ActionServlet (Controller).
- ActionServlet (Controller) populates the ActionForm (View) object with HTML /JSP form data method.
- ActionServlet (Controller) executes the Action object (Controller).
- Action object uses the model and does the necessary execution and passes the control back to the ActionServlet
- Action (Controller) forwards control to the JSP pages.
- JSP pages use model data to generate a response to the browser.
No comments:
Post a Comment