Struts2中Action跳转到Action中指定方法
Struts2中Action跳转到Action中指定方法
不能直接使用DMI方法,只能使用parma指定方法名,具体代码如下
<result name="page3" type="chain"><!-- 指定要跳转到的新Action --><param name="actionName">nhzbtjAction</param><!-- 指定要执行的方法 --><param name="method">init</param></result>