标签:
转发等参数传递的注解方式:
@Action(value = "operatorRoleAction", results = { @Result(name = "view", location = "/bussiness/operatorrole_view.jsp", type = "dispatcher", params={"userId", "%{userId}", "userName", "%{userName}"}) })
public String dealOperatorRole() {
return OPFLAG_VIEW_RES;
}
http://www.cnblogs.com/wuhuisheng/archive/2011/07/04/2097761.html
其中userId、userName为动态参数
标签:
原文地址:http://www.cnblogs.com/yingsong/p/5020427.html