• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
开水房
ASP.NET
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 18 19 20 21 22 23 24 25 26 下一页
2009年3月3日
javascript get multiple select
摘要: function getMultiple(ob) { var arSelected = new Array(); arSelected = new Array(); while (ob.selectedIndex != -1) { arSelected.push(ob.options[ob.selectedIndex].value); ob.option... 阅读全文
posted @ 2009-03-03 15:15 白开水皮皮 阅读(336) 评论(0) 推荐(0)
javascript <select
摘要: the parameter obj, devobj are object, not string function to2(obj,devobj) { var tmp = obj.id; var deviceid = devobj.id; idlistbox = tmp.substring(0,(tmp.length-1)); var list1 = document.getEleme... 阅读全文
posted @ 2009-03-03 12:24 白开水皮皮 阅读(136) 评论(0) 推荐(0)
2009年3月2日
SetTimeout SetInterval
摘要: setTimeout only one time, so need recursion. So continues running the function one after one SetInterval continues running, without stoping, and it runs every intervals, without waiting the former sto... 阅读全文
posted @ 2009-03-02 15:06 白开水皮皮 阅读(206) 评论(0) 推荐(0)
jsp 参数提取
摘要: Enumeration param = request.getParameterNames(); while (param.hasMoreElements()) { name = param.nextElement().toString(); properties.setProperty(name, ... 阅读全文
posted @ 2009-03-02 14:03 白开水皮皮 阅读(203) 评论(0) 推荐(0)
java comparable
摘要: 利用 Comparable 接口创建自己的类的排序顺序,只是实现 compareTo() 方法的问题。通常就是依赖几个数据成员的自然排序。同时类也应该覆盖 equals() 和 hashCode() 以确保两个相等的对象返回同一个哈希码。 这个接口的作用:如果数组或者集合中的(类)元素实现了该接口的话 , 我们就可以调用 Collections.sort 和 Arrays.sort 排序,或应用... 阅读全文
posted @ 2009-03-02 10:55 白开水皮皮 阅读(729) 评论(0) 推荐(0)
2009年2月19日
javascript confirm
摘要: 阅读全文
posted @ 2009-02-19 14:45 白开水皮皮 阅读(494) 评论(0) 推荐(0)
2009年2月17日
Prefix suffix
摘要: Prefix suffix 阅读全文
posted @ 2009-02-17 13:29 白开水皮皮 阅读(185) 评论(0) 推荐(0)
2009年2月11日
Hibernate Session.evict() and Session.clear() difference
摘要: session.evict(obj),会把指定的缓冲对象进行清除 session.clear(),把缓冲区内的全部对象清除,但不包括操作中的对象 阅读全文
posted @ 2009-02-11 10:43 白开水皮皮 阅读(858) 评论(0) 推荐(0)
Hibernate JDBC 批量插入
摘要: public void createRolePermissionBySql(final String roleId,final String[] permIds){ getHibernateTemplate().execute(new HibernateCallback() { public Object doInHibe... 阅读全文
posted @ 2009-02-11 09:53 白开水皮皮 阅读(601) 评论(0) 推荐(0)
UUIDHexGenerator
摘要: uuidGenerator=new UUIDHexGenerator(); 阅读全文
posted @ 2009-02-11 09:50 白开水皮皮 阅读(526) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 下一页
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3