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

隐身守侯 提交于 2019-12-13 02:34:54

问题


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.


来源:https://stackoverflow.com/questions/27424449/struts-1-3-difference-between-name-and-attribute-attributes-in-action-tag-with

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!