日期:2014-05-18  浏览次数:20621 次

求助:Struts开发web应用的配置文件struts-config.xml
请问一下:

struts-config.xml文件中的
<action-mappings>
<action       path= "/index "
                    type= "org.apache.struts.actions.ForwardAction "
                    parameter= "index-definition ">
 
</action>
</action-mappings>

这其中action中的parameter参数的意义是什么?

谢谢

------解决方案--------------------
指的是Tiles中定义的组件名
------解决方案--------------------
definition元素的name属性指定Tiles组件的名字,path属性指定Tiles组件使用的模板,definition元素的put子元素用于向模板中插入具体的网页内容。
http://macrochen.blogdriver.com/macrochen/517403.html