会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
爷的眼睛闪亮
insideDotNet En_summerGarden
博客园
首页
博问
闪存
新随笔
订阅
管理
上一页
1
···
47
48
49
50
51
52
53
54
55
···
67
下一页
2017年2月28日
配置项目启动的时候就加载 servlet
摘要: load-on-startup值为0 就是在项目启动的时候自动加载该servlet
阅读全文
posted @ 2017-02-28 10:42 爷的眼睛闪亮
阅读(164)
评论(0)
推荐(0)
2017年2月27日
Cannot call sendError() after the response has been committed(filter问题)
摘要: 就是因为执行了filter的dofilter方法中 chain.doFilter(request,response)了 执行了两遍 if(){}else{chain.doFilter(request,response);}即可
阅读全文
posted @ 2017-02-27 21:03 爷的眼睛闪亮
阅读(403)
评论(0)
推荐(0)
mybatis pagehelper实现分页
摘要: jar包的版本一定要对应,不然会出现一系列的问题 下载jar包 <properties> <!-- spring版本号 --> <spring.version>4.0.2.RELEASE</spring.version> <!-- mybatis版本号 --> <mybatis.version>3.
阅读全文
posted @ 2017-02-27 16:16 爷的眼睛闪亮
阅读(4146)
评论(0)
推荐(0)
2017年2月26日
防止表单重复提交
摘要: 两种解决方案: 第一:在submit的时候进行页面跳转 第二:在form中加入 onsubmit="return dosubmit()" <script type="text/javascript"> var isCommitted = false;//表单是否已经提交标识,默认为false fun
阅读全文
posted @ 2017-02-26 10:39 爷的眼睛闪亮
阅读(159)
评论(0)
推荐(0)
2017年2月25日
java.lang.Exception: No runnable methods 解决方案
摘要: Running org.jeecgframework.AbstractUnitTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.311 sec <<< FAILURE! initializationError
阅读全文
posted @ 2017-02-25 12:03 爷的眼睛闪亮
阅读(12256)
评论(0)
推荐(0)
js 倒计时跳转页面
摘要: <script type="text/javascript">var i = 5; var intervalid; intervalid = setInterval("fun()", 1000); function fun() { if (i == 0) { window.location.href
阅读全文
posted @ 2017-02-25 11:08 爷的眼睛闪亮
阅读(210)
评论(0)
推荐(0)
2017年2月24日
java.lang.UnsupportedOperationException:This parser does not support specification "null" version "null"
摘要: <!-- https://mvnrepository.com/artifact/xerces/xercesImpl --><dependency> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> <version>2.9.1
阅读全文
posted @ 2017-02-24 14:08 爷的眼睛闪亮
阅读(3221)
评论(0)
推荐(0)
Maven Dependencies 不见了
摘要: 解决办法: 1. 选中项目 --> 右键 --> Maven --> Disable Maven Nature 此时,右键菜单中将隐藏【Maven】菜单选项 2. 选中项目 --> 右键 --> Configure --> Convert to Maven project. 3. 选中项目-->右键
阅读全文
posted @ 2017-02-24 11:51 爷的眼睛闪亮
阅读(559)
评论(0)
推荐(0)
2017年2月21日
调用微信接口,模式二
摘要: 工具类 HttpUtil: package com.rongzhong.utils.weixin;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java
阅读全文
posted @ 2017-02-21 17:12 爷的眼睛闪亮
阅读(836)
评论(0)
推荐(0)
2017年2月17日
java对cookie的操作
摘要: java对cookie的操作比较简单,主要介绍下建立cookie和读取cookie,以及如何设定cookie的生命周期和cookie的路径问题。 建立一个无生命周期的cookie,即随着浏览器的关闭即消失的cookie,代码如下 1 2 3 4 HttpServletRequest request
阅读全文
posted @ 2017-02-17 17:45 爷的眼睛闪亮
阅读(176)
评论(0)
推荐(0)
上一页
1
···
47
48
49
50
51
52
53
54
55
···
67
下一页