上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: 链接; http://www.cnblogs.com/lucker/archive/2013/03/01/2939163.html 阅读全文
posted @ 2016-08-10 15:04 窗外是绿色的 阅读(233) 评论(0) 推荐(0) 编辑
摘要: layui下的alert,confirm等弹出框都有icon属性配置,icon共有七种属性配置,分别是: {icon:0},"!" 效果如下: {icon:1},"对勾" 效果如下: {icon:2},"叉"效果如下: {icon:3},"?" 效果如下: {icon:4},"锁"效果如下: {ic 阅读全文
posted @ 2016-08-10 14:40 窗外是绿色的 阅读(2096) 评论(0) 推荐(0) 编辑
摘要: html页面body标签下的DIV标签高度自适应,或者高度100%设置: 通常情况下 <div style="height:100%"></div> 即可将Div标签的高度设置为母标签高度的100%; 但是,当body下的直接子标签DIV不能通过这种方式实现高度100%设置(可通过height:10 阅读全文
posted @ 2016-08-10 10:35 窗外是绿色的 阅读(1414) 评论(0) 推荐(0) 编辑
摘要: 基本包装类的List 与 Set 实例对象转化为字符串 当 hello 为 空List时,hello.toString()为 "[]";当hello 不为空List时,hello.toString()为 "[1,2,3,44,2222]"之类的数据 hello为空或者不为空的情况下,通过kk.sub 阅读全文
posted @ 2016-08-05 10:37 窗外是绿色的 阅读(316) 评论(0) 推荐(0) 编辑
摘要: List<StudentClass> datas = new ArrayList<StudentClass>(); datas = ......; Iterator<StudentClass> itreator = datas.iterator(); while(iterator.hasNext() 阅读全文
posted @ 2016-08-05 10:18 窗外是绿色的 阅读(161) 评论(0) 推荐(0) 编辑
摘要: json字符串转换为bean对象 String json = "{name:'hello',age:'12'}"; Muser user = (Muser) JSONObject.toBean(json, Muser.class); jsonArray字符串转换为 List实例对象 String r 阅读全文
posted @ 2016-08-05 10:03 窗外是绿色的 阅读(1546) 评论(0) 推荐(0) 编辑
摘要: 环境:MyBatis框架; 缘由:最近在弄点小改动,用到了 in SQL查询,在action中通过StringBuffer 类类创造“(id1,id2,id3)”的结构,然后mapper映射文件中通过来查找,可是运行时候出现了问题,通过打印出来的sql语句及参数却能在Mysql中运行。 经过询问别人 阅读全文
posted @ 2016-08-01 14:25 窗外是绿色的 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Map 检测某个key是否存在 Map<String,String> map = new HashMap<String,String>(); 从试验可知:Map<String,String> 时,当无key或者某个key对应的value为null时,map.get("key") 都为 null;当某 阅读全文
posted @ 2016-07-29 18:40 窗外是绿色的 阅读(8687) 评论(0) 推荐(0) 编辑
摘要: 参考链接 http://www.yiibai.com/redis/redis_quick_guide.html http://www.cnblogs.com/linjiqin/archive/2013/05/27/3101694.html http://blog.csdn.net/java2000_ 阅读全文
posted @ 2016-07-05 16:38 窗外是绿色的 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 参考链接 http://www.cnblogs.com/wean/archive/2012/05/16/2502724.html http://www.cnblogs.com/hoojo/archive/2012/07/12/2587556.html 阅读全文
posted @ 2016-07-05 15:20 窗外是绿色的 阅读(88) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页