会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
LinVan
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
下一页
2017年2月20日
html select 可输入 可编辑
摘要: js实现可输入的下拉框 德国 挪威 瑞士
阅读全文
posted @ 2017-02-20 16:09 LinVan
阅读(24794)
评论(2)
推荐(1)
2017年2月15日
easyui 使用jquery动态添加组件样式问题
摘要: 可以使用$.parser.parse();这个方法进行处理; 例如: $.parser.parse(); 表示对整个页面重新渲染,渲染完就可以看到easyui原来的样式了; var targetObj = $("<input name='mydate' class='easyui-datebox'>
阅读全文
posted @ 2017-02-15 14:32 LinVan
阅读(1769)
评论(0)
推荐(0)
2017年1月19日
java 及 Jquery中的深复制 浅复制
摘要: 发现问题:最近 遇到由于复制对象之后,改变复制后的新变量,原先被复制的对象居然会跟着变。 EX:java中: //holidayConfig.getEnd_time()会随着sTime的改变而改变 sTime = holidayConfig.getEnd_time(); sTime.setDate(
阅读全文
posted @ 2017-01-19 14:49 LinVan
阅读(288)
评论(0)
推荐(0)
2017年1月14日
POI 身份证号码 手机号 日期值的处理方式
摘要: 1 private static SimpleDateFormat dateformat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 2 3 /** 4 * 获取单元格的值 5 * 6 * @param cell 7 * @return 8 */ 9 public...
阅读全文
posted @ 2017-01-14 15:37 LinVan
阅读(991)
评论(0)
推荐(0)
2016年12月16日
java BigDecimal add 等方法遇到的问题
摘要: 1 //这篇随笔是为了提醒自己避免重复错误 2 3 4 5 //原先的代码是这样的,想着输出会是9.00,可是结果却是0.00 6 BigDecimal day_fee = new BigDecimal("0.00"); 7 day_fee.add( new BigDecimal("9.00")); 8 System.out.print("day_fee:" + day_f...
阅读全文
posted @ 2016-12-16 17:43 LinVan
阅读(12499)
评论(0)
推荐(0)
2016年12月14日
easyui datagrid columns field 如何支持一个或多个子属性
摘要: //如果只需要一个子属性从value出发 {field:'customer',title:'会员手机',width:100, formatter: function(value,row,index){ if (value.phone){ return value.phone; ...
阅读全文
posted @ 2016-12-14 14:09 LinVan
阅读(7486)
评论(0)
推荐(0)
2016年12月7日
[转]解决a different object with the same identifier value was already associated with the session错误
摘要: 1、a different object with the same identifier value was already associated with the session。 错误原因:在hibernate中同一个session里面有了两个相同标识但是是不同实体。 解决方法一:sessio
阅读全文
posted @ 2016-12-07 14:27 LinVan
阅读(246)
评论(0)
推荐(0)
2016年12月5日
Java获取本机ip和服务器ip
摘要: 一、获取服务器IP 1 String addr = InetAddress.getLocalHost().getHostAddress();//获得本机IP 二、获取客户端本机IP
阅读全文
posted @ 2016-12-05 10:47 LinVan
阅读(30755)
评论(3)
推荐(0)
jsp Request获取url信息的各种方法比较
摘要: 1 从Request对象中可以获取各种路径信息,以下例子: 2 假设请求的页面是index.jsp,项目是WebDemo,则在index.jsp中获取有关request对象的各种路径信息如下 3 String path = request.getContextPath(); 4 String basePath = request.getSche...
阅读全文
posted @ 2016-12-05 09:56 LinVan
阅读(6138)
评论(0)
推荐(0)
2016年11月28日
转@ManyToMany- annotation关系映射篇(下)
摘要: 原文:http://blog.sina.com.cn/s/blog_6fef491d0100obdd.html 终于要说ManyToMany了 场景:Product和Customer。 先看TestProduct.java 注意这里的ManyToMany什么都没有写。 再看TestCustomer.
阅读全文
posted @ 2016-11-28 14:33 LinVan
阅读(770)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告