上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 原因:以前在传递参数的时候,出现传递单个参数,有的时候用#{id} 可以成功,有的时候报错,只能改成#{_parameter}---------------------------------------------------------------------------------------... 阅读全文
posted @ 2015-07-07 18:46 roscee 阅读(1983) 评论(0) 推荐(0)
摘要: 1 让input 等不可点击onFocus="this.blur()" 阅读全文
posted @ 2015-07-04 11:42 roscee 阅读(174) 评论(0) 推荐(0)
摘要: 在1.8版本前jquery 的全局函数需要绑定到具体的DOM对象之上在1.8版本之后,需要绑定到Document 对象之上var $doc = $(document);$doc.ajaxComplete(function(event,xhr,options){ var str_timeout ... 阅读全文
posted @ 2015-06-05 14:15 roscee 阅读(5414) 评论(0) 推荐(0)
摘要: 在javaScript 中返回HTML的时候,如果HTML中涉及到的JS函数参数需要用单双引号 HTML 转义 双引号:" IE6/8等浏览器下可能不识别 可以用十进制字符 》" 单引号:' 对应十进制字符 》 ' 在js 中涉及到的单双引号转义,可以用 \' 和 阅读全文
posted @ 2015-05-29 15:43 roscee 阅读(1044) 评论(0) 推荐(1)
摘要: 一:ehcache 简介 ehCache 是一个纯Java的进程内缓存框架,具有快速、精干等特点,是Hibernate中默认的CacheProvider 类似于做了数据库的一个备份,一定要注意使用ehcache时的数据脏读二:spring 需要的知识点 1 spring AOP 应用的几种方式... 阅读全文
posted @ 2015-04-21 11:13 roscee 阅读(314) 评论(0) 推荐(0)
摘要: Mybatis默认使用有slf4j必须加上依赖org.slf4jslf4j-log4j121.7.5org.slf4jslf4j-api1.7.5否则是怎么配置log4j都是无法打印mybatis的sql到日志 阅读全文
posted @ 2015-04-03 09:23 roscee 阅读(460) 评论(0) 推荐(0)
摘要: 定义:Convert a interface of class into anthoer interface clients expect. Adapter let classes work together that could't otherwise because of incompat... 阅读全文
posted @ 2015-02-15 15:02 roscee 阅读(253) 评论(0) 推荐(0)
摘要: JDK 提供的动态代理的两个相关的类:InvocationHandler 和 Proxy 一:Proxy Proxy 提供了一个获取实例的静态方法 public static Object newProxyInstance(ClassLoader loader,Class<?>[] interfac 阅读全文
posted @ 2015-02-15 10:35 roscee 阅读(267) 评论(0) 推荐(0)
摘要: 定义:provide a surrogate or palceholder for anthoer object to control access to it 提供一个代理或者另一个对象的占位符来控制对原本对象的访问类图: 分类:代理模式分为 普通代理、强制代理(访问该对象必须通过他... 阅读全文
posted @ 2015-02-15 09:10 roscee 阅读(228) 评论(0) 推荐(0)
摘要: 定义: Define the skeleton of algorithm in an operation , deferring some steps to subclass. Template method lets subclasses redefine certain steps of a... 阅读全文
posted @ 2015-02-12 17:01 roscee 阅读(313) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页