Search code examples
javamodel-view-controllerstrutsstruts-1

Struts 1.3 : Difference between name and attribute attributes in action tag within StrutsConfig.xml?


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


Solution

    • 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.