redirectAction新旧版配置的区别-Strust2

旧版

<action name="uploadActionDo" class="FileUploadAction" method="actionDo">
<result type="redirectAction" name="success">
<param name="actionName">uploadOk</param>
<param name="namespace">/</param>
<param name="result">${result}</param>

</result>

</action>

新版

<action name="uploadActionDo" class="FileUploadAction" method="actionDo">
<result type="redirectAction" name="success">
<param name="actionName">uploadOk?result=${result}</param>
</result>
</action>

你可能感兴趣的:(redirectAction)