<action name="notify_trade"
class="XXXXAction">
<result name="success" type="redirectAction">
<param name="actionName">redirect.htm</param>
<param name="successMessage">${successMessage}</param>
<param name="encode">true</param>
</result>
<result name="error" type="redirectAction">
<param name="actionName">redirect.htm</param>
<param name="errorMessage">${errorMessage}</param>
<param name="encode">true</param>
</result>
class="XXXXAction">
<result name="success" type="redirectAction">
<param name="actionName">redirect.htm</param>
<param name="successMessage">${successMessage}</param>
<param name="encode">true</param>
</result>
<result name="error" type="redirectAction">
<param name="actionName">redirect.htm</param>
<param name="errorMessage">${errorMessage}</param>
<param name="encode">true</param>
</result>
</action>
<action name="sign" class="XXXXAction">
<result name="success" type="chain">buy</result>
<result name="error" type="redirectAction">
<param name="actionName">redirect.htm</param>
<param name="namespace">/trade</param>
<param name="errorMessage">${errorMessage}</param>
<param name="encode">true</param>
</result>
<result name="zcbManageUrl" type="redirect">/manage/manage.htm</result>
</action>
<action name="buy" class="XXX.action.PurchaseAction"
method="sendToFund">
<result name="success">/message.jsp</result>
<result name="error" type="freemarker">/WEB-INF/ftl/common/error.ftl
</result>
</action>