排序
Gson JsonReader使用setLenient方法设置宽容/非严格模式
方法原型 方法: public GsonBuilder setLenient() 方法说明: 默认情况下,Gson是严格的,只接受RFC 4627指定的JSON。此选项使解析器在接受的内容中更加自由。 使用 使用方法1: Gson gson = n...
基于Maven的Java Spring Web工程部署ureport2报表项目
选择此报表的请尽早放弃,文档少,网上示例少,官方没靠谱的技术支持,项目着急不要在此浪费时间。 这里我是在现有的Java Web工程中增加UReport2报表组件的支持。步骤如下: 修改Maven的pom.xml...
Cloudflare如何设置才能让非www开头的地址跳转到www开头的地址
背景: 我的博客搭建在github上,cname添加的是带www的域名www.cobcmw.com,域名解析是使用的Cloudflare的别名解析,解析记录如下: 但是,解析之后,www.cobcmw.com能正常访问,并跳转到https:...
ureport报表新建spring数据源
使用ureport2报表新建spring数据源的步骤如下: 1.新建一个接口方法 接口方法如下: package lc.jw.iarp.queryapplystatistics.service; import java.util.List; import java.util.Map; /** * ...
百度echarts实现散点图
echarts版本:4.1.0; html代码: <div id='countScatter' style='height: 500px;'></div> JS代码: <script type='text/javascript'> $(function () { initChart(); }); /*图...
百度echarts实现折线图
echarts版本:4.1.0; html代码: <div id='countLine' style='height: 500px;'></div> JS代码: <script type='text/javascript'> $(function () { initChart(); }); /*图表...
解决web.xml报错The content of element type “web-app” must match(正解)
IntelliJ IDEA编辑器显示web.xml红叉,内容如下 The content of element type “web-app” must match “(icon ,display- name ,description ,distributable ,context-param*,filter*,filter-ma...






