| Package | Description | 
|---|---|
| com.opensymphony.xwork2 | Main XWork interfaces and classes. | 
| com.opensymphony.xwork2.interceptor | Interceptor classes. | 
| org.apache.struts2 | |
| org.apache.struts2.action | |
| org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers. | 
| org.apache.struts2.interceptor | |
| org.apache.struts2.util | 
| Class and Description | 
|---|
| Action All actions may implement this interface, which exposes the  execute()method. | 
| Class and Description | 
|---|
| NoParameters This marker interface should be implemented by actions that do not want any parameters set on
 them automatically. | 
| ParameterNameAware This interface is implemented by actions that want to declare acceptable parameters. | 
| ParameterValueAware This interface is implemented by actions that want to declare acceptable parameter values. | 
| Class and Description | 
|---|
| Action All actions may implement this interface, which exposes the  execute()method. | 
| Class and Description | 
|---|
| Action All actions may implement this interface, which exposes the  execute()method. | 
| CspReportAction An abstract Action that can be extended to process the incoming CSP violation reports. | 
| ServletRequestAware All Actions that want to have access to the servlet request object must implement this interface. | 
| ServletResponseAware All Actions that want to have access to the servlet response object must implement this interface. | 
| Class and Description | 
|---|
| Action All actions may implement this interface, which exposes the  execute()method. | 
| Class and Description | 
|---|
| ApplicationAware Actions that want to be aware of the application Map object should implement this interface. | 
| ParametersAware This interface gives actions an alternative way of receiving input parameters. | 
| PrincipalAware Actions that want access to the Principal information from HttpServletRequest object
 should implement this interface. | 
| ServletRequestAware All Actions that want to have access to the servlet request object must implement this interface. | 
| ServletResponseAware All Actions that want to have access to the servlet response object must implement this interface. | 
| SessionAware Actions that want access to the user's HTTP session attributes should implement this interface. | 
| Class and Description | 
|---|
| Action All actions may implement this interface, which exposes the  execute()method. | 
| ServletContextAware For components that have a dependence on the Servlet context. | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.