Xml
1>action Attributes and meanings:
[Path] The relative path of the action class
[Name] The name of the action bean associated with this operation (Actionform)
[Type] The full name of the action class that is connected to this mapping (can have a package name)
[Scope] Scope of the Actionform bean (request or session)
[Prefix]
[Suffix]
[ClassName] The fully qualified name of the class of the Actionmapping object is the default class of Org.apache.struts.action.ActionMapping
[input] Enter the path to the form, and point to the control that the bean must return when an input error occurs
[Unknown] defaults to false. This property is set to True, stating that this action will handle all requests that have not been processed in the entire application, and of course, only one unknown attribute can be set to true in an application system
[Validate] is set to true, Actionservlet calls the Actionform Bean's Validate () method for input checking before calling the Perform () method on the Action object
2>forward Attributes and meanings:
[ID]
[ClassName] The fully qualified name of the Actionforward class, and the default is Org.apache.struts.action.ActionForward
The logical name used by the [name] action class to access Actionforward
Path in response to a forwarded target resource [path]
[REDIRECT] If set to true, Actionservlet use the Sendredirect () method to forward the resource
3>form-bean Attributes and meanings:
[ID]
[ClassName] The fully qualified name of the Actionform bean, and the default value is Org.apache.struts.action.ActionFormBean
Name of the associated scope of the [name] form Bean, which is used to associate the bean with actionmapping
The fully qualified name of the [Type] class Formbean class name (can have package name)