会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
远方的人
上一页
1
···
10
11
12
13
14
15
16
17
18
···
25
下一页
2016年1月29日
截图图片成 圆形 图片
摘要: /*//截图成圆形 File localFile = new File("c:/a.jpg"); BufferedImage sourceImg = ImageIO.read(localFile); BufferedImage newImage = new BufferedImage(toWidth
阅读全文
posted @ 2016-01-29 11:25 远方的人
阅读(952)
评论(0)
推荐(0)
2015年10月12日
Java页面中EL的${}与<%= request.getParameter%>有什么区别? el 取不到值
摘要: ${requestScope}操作的是request的作用域,相当于request.getAttribute();不过EL比这个更智能些,它不用强制类型转换就可以拿到了真实对象的值。request.getParamter(),获取的是页面传递的值,可以是jsp传jsp,jsp传servle,常见的就...
阅读全文
posted @ 2015-10-12 11:13 远方的人
阅读(540)
评论(0)
推荐(0)
2015年7月16日
@Id 和 @column 注解 使用注意
摘要: 当@Id写字啊 field 上时 ,如过 把 @column 写在 getter 方法上 ,会出现错误 或者不起作用Unknown column 'gecompanys0_.sourcec' in 'field list'; sourcec 为 field 的名称, 数据库名称为 sourceNam...
阅读全文
posted @ 2015-07-16 11:48 远方的人
阅读(5077)
评论(0)
推荐(0)
2015年7月7日
$.post 提示错误: Uncaught SyntaxError: Unexpected token :
摘要: $.post("addRecommond",{"productId":productId,"categoryCode":categoryCode},function(data1){ var data = eval(data1); if(da...
阅读全文
posted @ 2015-07-07 20:12 远方的人
阅读(420)
评论(0)
推荐(0)
2015年7月6日
tomcat 时间相差8个小时,百度上查到的,备份下
摘要: 通常网上一查都是 修改 tomcat 的参数 ,如catalina 文件,jvm parameters 等。如果都不起作用,可以使用如下方式。。你可以修改jdk的时间校正了,你这么来。进入 \home\user\jdk6_1.6\jre\lib\zi\Etc(你的是1.4的,反正知道是JDK目录就行...
阅读全文
posted @ 2015-07-06 13:26 远方的人
阅读(351)
评论(0)
推荐(0)
mybatis 传参为 Integer 时 ,Mapper 文件 中判断 条件 问题。
摘要: b.work_permit_card_cert is not null and b.work_permit_card_cert!=1 and b.delete_flag =0 u.user_...
阅读全文
posted @ 2015-07-06 10:09 远方的人
阅读(4796)
评论(0)
推荐(0)
2015年6月28日
maven 编译的时候总是报一些奇怪的错误 比如 surefire-boot 2.10 .jar 可是私服里查看本来就没有这个高的版本。
摘要: 或者私服总是 报 read time out , 或者 io 错误, 或者 gzip 解压错误,或者总是尝试下载一些高版本的jar , 而这些jar 可能是不存在的 。。尝试 重新下载 apache-maven-3.0(版本不定)。。 如果还是不行的 , 请更换其他 maven 版本试试 。。问题二...
阅读全文
posted @ 2015-06-28 15:14 远方的人
阅读(299)
评论(0)
推荐(0)
2015年6月18日
shift + 空格 快捷键 使输入法 在全角和半角直接切换。。 但是全角输入一个 空格 ,会造成jsp页面 无法正常解析。。比如 无法获得参数。。
摘要: shift + 空格 快捷键 使输入法 在全角和半角直接切换。。 但是全角输入一个 空格 ,会造成jsp页面 无法正常解析。。。。比如 无法获得参数。。如 ...
阅读全文
posted @ 2015-06-18 15:10 远方的人
阅读(519)
评论(0)
推荐(0)
2015年5月22日
c:param 标签后不要写 注释 。否则报错 Encountered illegal body of tag "c:import" tag, given its attributes
摘要: c:param 标签后不要写 注释 。否则报错 Encountered illegal body of tag "c:import" tag, given its attributes
阅读全文
posted @ 2015-05-22 11:36 远方的人
阅读(867)
评论(0)
推荐(0)
2015年4月17日
shiro 实现 用户 a 操作b 的权限 ,用户 b 能够及时获知。b不需要退出登陆 。 关闭鉴权缓存,或者不配置缓存
摘要: -->
阅读全文
posted @ 2015-04-17 16:21 远方的人
阅读(489)
评论(0)
推荐(0)
上一页
1
···
10
11
12
13
14
15
16
17
18
···
25
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告