struts2 注解加入token报错,求大神解答 30
action注解如下@Action(value="sendMailOrCode",results={@Result(name="tomobile",location="m...
action注解如下
@Action(value="sendMailOrCode",results={
@Result(name="tomobile",location="mobilesuccess.jsp"),
@Result(name="tomail",location="sendsuccess.jsp"),
@Result(name="input",location="../../../service/commonpage/500.jsp"),
@Result(name = "invalid.token",location="../../../service/page/index.jsp)},
interceptorRefs={@InterceptorRef(value="token"),@InterceptorRef("defaultStack")}
)
提交后台总是报这个错,百度一把,说少了log4j.jar,加上后还是有
Unexpected Exception caught setting 'token' on 'class cn.com.sinosoft.online.action.service.login.LoginInfoAction: Error setting expression 'token' with value ['M743PS4NH286PZKKEQI413AKF1RJ4GXU', ]
Error setting expression 'token' with value ['M743PS4NH286PZKKEQI413AKF1RJ4GXU', ] - [unknown location] 展开
@Action(value="sendMailOrCode",results={
@Result(name="tomobile",location="mobilesuccess.jsp"),
@Result(name="tomail",location="sendsuccess.jsp"),
@Result(name="input",location="../../../service/commonpage/500.jsp"),
@Result(name = "invalid.token",location="../../../service/page/index.jsp)},
interceptorRefs={@InterceptorRef(value="token"),@InterceptorRef("defaultStack")}
)
提交后台总是报这个错,百度一把,说少了log4j.jar,加上后还是有
Unexpected Exception caught setting 'token' on 'class cn.com.sinosoft.online.action.service.login.LoginInfoAction: Error setting expression 'token' with value ['M743PS4NH286PZKKEQI413AKF1RJ4GXU', ]
Error setting expression 'token' with value ['M743PS4NH286PZKKEQI413AKF1RJ4GXU', ] - [unknown location] 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询