日期:2014-05-20 浏览次数:20676 次
<action name="getAllSequence" class="com.lanzi.shop.web.action.admin.SequenceAction" method="getAllSequence"> <result name="success" type="json"> <param name="root">dataMap</param> <param name="contentType">text/html</param> </result> </action> <action name="delSequence" class="com.lanzi.shop.web.action.admin.SequenceAction" method="delSequence"> <result name="success" type="json"> <param name="root">dataMap</param> <param name="contentType">text/html</param> </result> </action>
<struts> <global-results> <result name="" type="" ></result> </global-results> </struts>
------解决方案--------------------
<struts>
<global-results>
<result name="" type="" ></result>
</global-results>
</struts>
------解决方案--------------------
<global-results>
<result name="" type="" ></result>
</global-results>
一般出现“错误”或者“提交成功”等等公共页面都可以配置global-results。