The Struts Framework
The Struts Framework
What is Struts?
What is a Framework?
JSP "Model 1" Architecture
JSP "Model 2" Architecture
Model-View-Controller Pattern Components
The "Model" Part of MVC
The "View" Part of MVC
The "Controller" Part of MVC
Struts and Scope
A Banking Account Example
Struts Components
Struts Component Packages
Struts Controller Components
Struts Controller Components (cont'd)
Action Classes
Struts Model Components
A Simple Security Service
Declarative Exception Handling
Struts View Components:
ActionForm
Objects
Extending the
ActionForm
Class
Registering ActionForms
Accessing a Database
Struts View Components: JSP Pages with Tags
Message Resource Bundles
Registering Struts Custom Tag Libraries
Another Example Built with Struts