Struts 1.3:StrutsConfig.xml内的动作标签中的名称和属性之间的区别? [英] Struts 1.3 : Difference between name and attribute attributes in action tag within StrutsConfig.xml?
本文介绍了Struts 1.3:StrutsConfig.xml内的动作标签中的名称和属性之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
StrutsConfig.xml内动作标签中的 name 和 attribute 属性之间有什么区别?>
What is the difference between name and attribute attributes in action tag within StrutsConfig.xml ?
推荐答案
-
name
是表单bean(某种形式的ActionForm
)的名称. -
attribute
是会话或请求中表单Bean的名称,如果它不同于名称 . 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.
这篇关于Struts 1.3:StrutsConfig.xml内的动作标签中的名称和属性之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文