日期:2014-05-17 浏览次数:21134 次
<action name="taskpointAction" class="tfMissionInfoAction">
<result name="list">/taskpoint/task/mytask_list.jsp</result>
<result name="itf">/taskpoint/task/mytask_itf.jsp</result>
<result name="toListMethod" type="redirectAction">
<param name="actionName">taskpointAction!list.action</param>
<param name="sqlFlag">${sqlFlag}</param>
<param name="progId">${progId}</param>
<param name="msg">${msg}</param>
</result>
</action>
<action name="depttaskAction" class="tfMissionInfoAction">
<result name="list">/task/depttask/mytask_list.jsp</result>
<result name="itf">/task/depttask/mytask_itf.jsp</result>
<result name="toListMethod" type="redirectAction">
<param name="actionName">depttaskAction!list.action</param>
<param name="sqlFlag">${sqlFlag}</param>
<param name="progId">${progId}</param>
<param name="msg">${msg}</param>
</result>
</action>
@Actions({
@Action(value="taskpointAction",results={
@Result(name="list",location="/taskpoint/task/mytask_list.jsp"),
@Result(name="itf" location="/taskpoint/task/mytask_itf.jsp"),
@Result(name="toListMethod" location="taskpointAction!list.action",type="redirect",
params={"sqlFlag",sqlFlag,"progId",progId,"msg",msg})//参数key0,value0,key1,value1....
}),//还有的话就接着配@Result
@Action(value="depttaskAction")//这里再配你的模仿上一个Action的配置
})public TfMissionInfoAction extends ActionSupport{
}