Package name.matthewgreet.strutscommons.action
package name.matthewgreet.strutscommons.action
Template classes and supporting interfaces for Struts 2 Actions.
-
ClassDescriptionBase class of Struts 2 Action that supports server state per browser tab.AbstractFormDrivenActionSupport<F extends Form>Base class of Struts 2 Action for finding or updating based on form data, or otherwise respond to POST requests.Template class of Struts 2 action for serving Json data of generic type T, usually for JQuery-based pages using jQuery.getJSON.Template class for Struts 2 actions that display something.Deprecated.An old design that can't handle session copying.Interface for Struts 2 actions that accept a browser tab id.Like
HttpSession
, stores sets of named data or attribute about a user between requests but data are private to each browser tab, so different pages of the same browser don't clash when using the same name.Implementation ofBrowserTabSession
.FormDriven<T extends Form>Interface indicating Struts 2 action accepts form data into a form object and describes how the form should be handled in workflow.