Welcome to Apache Struts 2
Apache Struts 2 is a flexible control layer based on standard technologies like Java Filters, JavaBeans, ResourceBundles, Locales, and XML, as well as various OpenSymphony packages, like OGNL and XWork. The framework helps you create an extensible development environment for your application, based on industry standards and proven design patterns.
Warning | ||
---|---|---|
| ||
Apache Struts 2 is at a pre-release stage. If you are just getting started with Struts2/WebWork2, we recommend WebWork 2.2 as an entry point. WW2 is stable and production ready. When Struts 2 is released, migration paths for WebWork 2 and Struts 1 developers will be available. See the Struts 2 release plan for details and status. |
Tip | ||
---|---|---|
| ||
If you are an early adopter, a snapshot of Struts 2.0.0 is available for testing. See the Migration Guide for details. |
Getting Started
The documentation is grouped into three areas.
Our tutorials are designed to get started with the framework soon as possible. We offer an all-purpose "soup to nuts" tutorial as well as specialty tutorials on portlets and database access. | |
Our FAQs provide a wide range of rapid-fire "HOWTOs" in question and answer format. | |
Our in-depth guides focus on specific components of the framework, such as Views, the Core framework, and Third-party Extensions. |
An overview of all three areas is available.
Apache Struts 2 in a Nutshell
Apache Struts 2 is a flexible control layer based on standard technologies like Java Filters, JavaBeans, ResourceBundles, Locales, and XML, as well as various OpenSymphony packages, like OGNL and XWork. The framework helps you create an extensible development environment for your application, based on industry standards and proven design patterns.
The framework provides its own web Controller component and integrates with other technologies to provide the Model and the View. For the Model, the framework can interact with standard data access technologies, like JDBC and EJB, as well as most any third-party packages, like Cayenne, Hibernate, or iBATIS. For the View, the framework works well with JavaServer Pages, including JSTL and JSF, as well as FreeMarker or Velocity Templates, PDF, XSLT, and other presentation systems.
...
The framework provides general-purpose defaults, so you can start using Struts 2 "out of the box" right away. As needed, you can override any of our defaults in your application's configuration. We provide the base framework, but you can still write your application your way.
Getting Started
The documentation is grouped into three areas.
Our tutorials are designed to get started with the framework soon as possible. We offer an all-purpose "soup to nuts" tutorial as well as specialty tutorials on portlets and database access. | |
Our FAQs provide a wide range of rapid-fire "HOWTOs" in question and answer format. | |
Our in-depth guides focus on specific components of the framework, such as Views, the Core framework, and Third-party Extensions. |
An overview of all three areas is available.
Quick Links
...