上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 一.自定义bean,手动在返回数据时将数据json化 1.自定义类JacksonUtil.java,类中实现tojson方法(即将数据转成json类型); 2.自定义类JsonView 继承 AbstractView 3.xml中配置bean:jsonView 4.配置bean class为spri... 阅读全文
posted @ 2018-05-30 23:24 thewindkee 阅读(861) 评论(0) 推荐(0) 编辑
摘要: This page contains the following errors:error on line 1 at column 1: Document is emptyBelow is a rendering... 阅读全文
posted @ 2018-05-28 20:06 thewindkee 阅读(6444) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/huanongying/p/7021555.html本文实验的测试环境:Windows 10+cmd+MySQL5.6.36+InnoDB一、事务的基本要素(... 阅读全文
posted @ 2018-05-06 21:19 thewindkee 阅读(119) 评论(0) 推荐(0) 编辑
摘要: HTTP Header里的Range和Content-Range参数转自:http://hongjiang.info/http-header-range-and-content-range/这个话题是从实现一个h... 阅读全文
posted @ 2018-05-04 01:17 thewindkee 阅读(882) 评论(0) 推荐(0) 编辑
摘要: 解决JSTL的formatNumber 不能接受表达式的错误JSTL1.2.jar今天在使用标记时遇到一个错误,我的Jsp页面写法如下:,标记使用写法如下:结果在运行时报如下错误:According to TLD... 阅读全文
posted @ 2018-04-28 10:06 thewindkee 阅读(189) 评论(0) 推荐(0) 编辑
摘要: form表单改为οnsubmit="return checkForm(this,navTabAjaxDone)"function checkForm(form,navTabAjaxDone){ //check... 阅读全文
posted @ 2018-04-25 15:07 thewindkee 阅读(177) 评论(0) 推荐(0) 编辑
摘要: MySQL单表百万数据记录分页性能优化 limit优化自己的一个网站,由于单表的数据记录高达了一百万条,造成数据访问很慢,Google分析的后台经常报告超时,尤其是页码大的页面更是慢的不行。测试环境:先让我们熟悉... 阅读全文
posted @ 2018-04-24 15:41 thewindkee 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 强烈推荐Hutool!一. org.apache.commons.io.IOUtilscloseQuietly 关闭一个IO流、socket、或者selector且不抛出异常。通常放在finally块。toStr... 阅读全文
posted @ 2018-04-20 21:05 thewindkee 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 参考:http://blog.jianguoyun.com/?p=976https://www.cnblogs.com/mattmonkey/archive/2012/12/20/2825900.html1. 选... 阅读全文
posted @ 2018-04-19 19:58 thewindkee 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 来自 Java中的MessageFormat.format用法实例这篇文章主要介绍了Java中的MessageFormat.format用法实例,本文先是讲解了MessageFormat的语法,然后给出了多个操作... 阅读全文
posted @ 2018-04-19 12:09 thewindkee 阅读(226) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页