...
Apache Struts 2 Architecture in a Nutshell
|
|
Struts Tags in a nutshell
...
A web application uses a deployment descriptor to initialize resources like filters and listeners. The web deployment descriptor is formatted as a XML document and named web.xml
. Likewise, the framework uses a configuration file, named struts.xml
, to initialize its own resources. These resources include action mappings, to direct input to server-side Action classes, and result types, to select output pages.
...
The framework provides general-purpose defaults, so you can start using Struts right away, "out of the box". As needed, you can override any of our defaults in your application's configuration.
Struts
...
MVC in a Nutshell
...
Struts is a Model View Controller framework. Struts provides Controller and View components, and integrates with other technologies to provide the Model. The framework's Controller acts as a bridge between the application's Model and the web View.
...
Is Struts the best choice for every project?
NoApache Struts 2 helps you create an extensible development environment for enterprise-grade applications, based on industry standards and proven design patterns. If you need to write a very simple application, with a handful of pages, then you might consider a "Model 1" solution that uses only server pages.
...