摘要: DateFormat format1 = new SimpleDateFormat("yyyy-MM-dd"); Date date=new Date(); date = format1.parse("2016-1-30"); Calendar ca=Calendar.getInstance(); 阅读全文
posted @ 2017-07-28 15:16 11cnblogs 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 新建表空间create tablespace whfxt datafile 'D:\whfxt.ora' size 500m; create user whfxt identified by whfxt default tablespace whfxt quota 200m on users; gr 阅读全文
posted @ 2017-07-28 09:24 11cnblogs 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 例:var name=json&xml; myjsp.jsp?username=name 这样的传递方式就不行,param.name取值的时候就只会取到json,后面的xml会自动去掉。怎么办呢? 解决办法:var newname=escape (encodeURIComponent(name)); 阅读全文
posted @ 2017-07-28 09:22 11cnblogs 阅读(1421) 评论(1) 推荐(1) 编辑
摘要: 需要使用URLEncoder 阅读全文
posted @ 2017-07-28 09:22 11cnblogs 阅读(1020) 评论(0) 推荐(0) 编辑
摘要: Scheduled 是异步起线程来处理你的逻辑的但你配置了 LogIntercept 这个拦截器, 里面的54行中, 会去调用RequestContextHolder.currentRequestAttributes, 但这个方法是需要有 http request 和 response 绑定到当前的 阅读全文
posted @ 2017-07-28 09:22 11cnblogs 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 导入的数据超过了mysql默认单个字段最大容量 导入的数据超过了mysql默认单个字段最大容量 #查看数据库中最大的单个文件容量 SHOW VARIABLES LIKE '%max_allowed_packet%'; #设置最大单个文件容量为10M,单次有效 SET GLOBAL max_allow 阅读全文
posted @ 2017-07-28 09:21 11cnblogs 阅读(548) 评论(0) 推荐(0) 编辑