-->

Struts 1.3 : Difference between name and attribute

2019-08-10 08:24发布

问题:

What is the difference between name and attribute attributes in action tag within StrutsConfig.xml ?

回答1:

  • name is the name of the form bean (an ActionForm of some sort).
  • attribute is the name of the form bean in the session or request if it's different than the name.