Chapter 10. The Struts Framework: Basics
Topics in This Chapter
- Downloading and installing Struts
- Weighing the pros and cons of Struts
- Understanding the Struts flow of control
- Learning the six basic steps in using Struts
- Writing
Actions
to process requests - Using form beans to handle request parameters
- Prepopulating input forms
- Redisplaying input forms
In Chapter 15 of Core Servlets and JavaServer Pages, Volume 1, we presented the MVC architecture. By using RequestDispatcher
in the servlets and the JSP 2.0 EL in the JSP pages, you can create a nice separation between the code that creates the data (Java) and the code that presents the data (HTML/JSP). Although this is a simple and powerful approach, in many applications it does not go far enough. ...
Get Core Servlets and JavaServer Pages, Volume 2: Advanced Technologies, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.