Chapter 7. View Components: What the End User SeesIN THIS CHAPTER
When you look at Struts in relationship to the MVC pattern, the view component is probably the easiest one to map directly from MVC to Struts entities. In Struts, the view is implemented by the JSP pages themselves and the ActionForm s that interact with them. They are also the easiest part to understand conceptually because to some extent they work like traditional servlets or pure JSP user interfaces. This chapter discusses the view in isolation from the rest of Struts. As a result, certain details (for example, how an action name in a form tag is mapped to an ActionForm and what happens after a form is validated ) have been put off until the next chapter. |