标签:io on log cti amp res type text 信息
@Result(name = "fail", type = "redirectAction", location = "gotologin.do?loginUrl=${loginUrl}&errorstr=${errorstr}") //Action请求转发以及参数
拦截器传递参数
ActionContext ac = invocation.getInvocationContext();
ValueStack stack = ac.getValueStack();
stack.setValue("errorstr", "nologin");// 用于登陆页面显示错误信息
stack.setValue("loginUrl", invocation.getInvocationContext().getName() + ".do");// 保存此次操作,登陆成功后,将直接跳转到此操作
标签:io on log cti amp res type text 信息
原文地址:http://www.cnblogs.com/mingf123/p/4126271.html