shiro与struts2之间冲突1

在同时使用shiro和Struts2时  因为shiro的filter要设置在struts2以前 会致使页面请求时会先进入shiro的过滤器,好比用户登陆时,若是jsp页面action写的是${pageContext.request.contextPath}/userAction_login,会没法解析,没法进入到login.action中,由于这种写法是在使用struts2时 struts2负责
相关文章
相关标签/搜索