摘要:
转载http://www.cnblogs.com/diewufeixian/p/4221747.html1.在web容器中设置(以tomcat为例)在tomcat-7.0\conf\web.xml中设置30tomcat默认session超时时间为30分钟,可以根据需要...
阅读全文
posted @ 2018-07-17 23:17
2637282556
阅读(266)
推荐(0)
摘要:
配置web.xml org.springframework.web.context.request.RequestContextListener 代码中HttpServletRequest request...
阅读全文
posted @ 2018-07-17 18:30
2637282556
阅读(101)
推荐(0)
摘要:
1DATE_FORMAT(date,format)函数 format格式如下%a 缩写星期名 %b 缩写月名 %c 月,数值 %D 带有英文前缀的月中的天 %d 月的天,数值(00-31) %e 月的天,数值(0-31) %f ...
阅读全文
posted @ 2018-07-17 17:50
2637282556
阅读(128)
推荐(0)
摘要:
文章转载:https://blog.csdn.net/bao19901210/article/details/41724355 一 spring支持编程式事务管理和声明式事务管理两种方式。1编程式事务管理:使用TransactionTemplate或者直接使用底层的...
阅读全文
posted @ 2018-07-16 16:31
2637282556
阅读(214)
推荐(0)
摘要:
测试controler@Controllerpublic class DemoController2 { @Autowired private DemoService demoService; /** * * @param response * ...
阅读全文
posted @ 2018-07-16 11:18
2637282556
阅读(769)
推荐(0)
摘要:
转载https://blog.csdn.net/yipanbo/article/details/46048413 1测试controller@Controllerpublic class DemoController2 { @Autowired privat...
阅读全文
posted @ 2018-07-16 09:49
2637282556
阅读(1194)
推荐(0)
摘要:
转载https://blog.csdn.net/isea533/article/details/44002219相信很多人可能都遇到过下面这些异常:"Parameter 'xxx' not found. Available parameters are [...]""...
阅读全文
posted @ 2018-07-13 16:10
2637282556
阅读(179)
推荐(0)
摘要:
转载http://www.cnblogs.com/zrbfree/p/5626803.htmlcom.zk.interceptors.MyInterceptor 实现了 HandlerInterceptor接口,可以拦截@RequestMapping注解的类和方法(也...
阅读全文
posted @ 2018-07-13 15:12
2637282556
阅读(165)
推荐(0)
摘要:
文章内容https://blog.csdn.net/mmm333zzz/article/details/45288061附上测试代码@Controller@Transactionalpublic class DemoController2 { @Autowired...
阅读全文
posted @ 2018-07-13 14:50
2637282556
阅读(229)
推荐(0)
摘要:
背景在将tomcat升级到7.0.81版后,发现系统的有些功能不能使用了,查询日志发现是有些地址直接被tomcat认为存在不合法字符,返回HTTP 400错误响应,错入信息如下:原因分析经了解,这个问题是高版本tomcat中的新特性:就是严格按照 RFC 3986规范...
阅读全文
posted @ 2018-07-13 13:59
2637282556
阅读(143)
推荐(0)