
java
文章平均质量分 85
weitd
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Gson工具
[code="java"]import java.util.Iterator; import java.util.Collection; import java.util.Enumeration; import java.lang.reflect.Type; import org.apache.commons.logging.Log; import org.apache.commons....原创 2010-05-25 09:31:06 · 110 阅读 · 0 评论 -
正则表达式
常用的元字符 . 匹配除换行符以外的任意字符 \w 匹配字母或数字或下划线或汉字 \s 匹配任意的空白符 \d 匹配数字 \b 匹配单词的开始或结束 ^ 匹配字符串的开始 $ 匹配字符串的结 常用的限定符 * 重复零次或更多次 + 重复一次或更多次 ? 重复零次或一次 {n} 重复n次 {n,} 重复n次或更多次 {n,m} 重复n到m次 常用的反义代...原创 2010-08-31 15:18:25 · 96 阅读 · 0 评论 -
连接池的配置
C3PO数据库连接池 优点:性能比较dbcp好,稳定性也比dbcp强 将C3po跟spring整合 1.导入c3p0-0.9.1.2.jar,commons-logging-1.1.1.jar,spring-2.5.6.jar 2.在applicationContext.xml中配置,用C3PO配置好的数据源 [code="xml"] net.sou...原创 2012-09-10 16:26:40 · 113 阅读 · 0 评论