摘要: Insert title here " rel="stylesheet" type="text/css"/> ${msg } " method="post"> " id="imgcheck" onclick="this.src=getRootPath()+'/verifycode.do?'+Math.random()"/> ... 阅读全文
posted @ 2019-07-01 19:43 我差两天十八岁 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 常用的有两种方法:1. 在主页面中写入下面两句:HttpSession session=request.getSession(true);session.setMaxInactiveInterval(3600);//3600秒,注意服务器端的3600秒,而不是客户端的2. 在项目的web.xml中设 阅读全文
posted @ 2019-07-01 15:44 我差两天十八岁 阅读(4092) 评论(0) 推荐(0) 编辑
摘要: 看网上的解决办法是什么注册的顺序错误,说在 spring-shiro.xml中没有扫描service包,发现自己是扫了的, <!--加载shiro配置文件之前或者之中配置扫描包和开启自动注解。--> <context:component-scan base-package="com.xxx.serv 阅读全文
posted @ 2019-07-01 08:53 我差两天十八岁 阅读(4647) 评论(0) 推荐(0) 编辑