我用的是struts 1.3版本.
<action
path=""
name=""
attribute=""
type=""
scope="request"
parameter="status" >
<forward name="" path=""/>
</action>
type 属性的值为什么有时候是自己定义的类,而有时候是org.struts.actions.DispatchAction呢,经常出问题,还有就是大家是否提倡使用动态Action呢?
<action
path=""
name=""
attribute=""
type=""
scope="request"
parameter="status" >
<forward name="" path=""/>
</action>
type 属性的值为什么有时候是自己定义的类,而有时候是org.struts.actions.DispatchAction呢,经常出问题,还有就是大家是否提倡使用动态Action呢?
开发中经常用DispatchAction