如果在xwork.xml不为result配置type,那默认的type就是dispatcher,同时也有一个DEFAULT_PARM=localtion
也就是说
<result name="success">/htllo.jsp</result>
等价于
<result name="success" type="dispatcher">
<param name="localtion">/hello.jsp</param>
</result>
如果在xwork.xml不为result配置type,那默认的type就是dispatcher,同时也有一个DEFAULT_PARM=localtion
也就是说
<result name="success">/htllo.jsp</result>
等价于
<result name="success" type="dispatcher">
<param name="localtion">/hello.jsp</param>
</result>