问题
What is the difference between name and attribute attributes in action tag within StrutsConfig.xml ?
回答1:
name
is the name of the form bean (anActionForm
of some sort).attribute
is the name of the form bean in the session or request if it's different than the name.
来源:https://stackoverflow.com/questions/27424449/struts-1-3-difference-between-name-and-attribute-attributes-in-action-tag-with