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.