If not specified, the default ActionForm will have a scope session.
The scope of the ActionForm is specified in the configuration <action>as an attribute scope. You can find this in the Struts DTD :
The "action" element describes an ActionMapping object that is to be used
to process a request for a specific module-relative URI. The following
attributes are defined:
.....
.....
scope The context ("request" or "session") that is used to
access our ActionForm bean, if any. Optional if "name" is
specified, else not valid. [session]
.....
.....
org.apache.struts.config.ActionConfig, Struts:
/**
* <p> Identifier of the scope ("request" or "session") within which our
* form bean is accessed, if any. </p>
*/
protected String scope = "session";
user159088