- 博客(3)
- 收藏
- 关注
原创 验证码
Color getRandColor(int fc, int bc) {//给定范围获得随机颜色 Random random = new Random(); if (fc > 255) fc = 255; if (bc > 255) bc = 255; int r = fc + rando
2017-09-26 13:53:01 237
原创 关于hibernate懒加载的问题
在web.xml中添加如下配置<!-- 添加spring解决hibernate懒加载的问题,过滤器 该过滤器一定要放置到struts2过滤器的前面 原理:延迟了Session的关闭时间,在页面上关闭 --> OpenSessionInViewFilter org.springframework.orm.hibernate3.support.OpenSessionInViewFi
2017-09-26 11:45:27 116
原创 MD5加密
/******************************************************************************* * keyBean 类实现了RSA Data Security, Inc.在提交给IETF 的RFC1321中的keyBean message-digest * 算法。 *******************************
2017-09-26 11:30:06 129
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人