摘要: 转自:http://www.cnblogs.com/lidp/archive/2009/09/03/1697620.html很惭愧,作为vim的忠实用户,自从2年多前从help里知道了:edit ++enc=xxx这个命令之后,我就没有去了解过vim的编码设定了。这些年来,我遇到编码出错,总是:ed 阅读全文
posted @ 2011-08-24 23:56 thunderhao 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 转自http://apps.hi.baidu.com/share/detail/24001915在开源领域,Spring开源框架已成为企业应用开发中使用最多的开源框架。Spring框架的优秀不但表现在其优雅的底层设计、使用方便快捷、面向工作实践、超强粘合能力等方面,另外一个不可忽视的方面是Sprin... 阅读全文
posted @ 2011-08-24 21:00 thunderhao 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 转自http://hi.baidu.com/jlh_jianglihua/blog/item/bcdcef88a62fc6b90f2444ff.html方法一、 解决的办法自然是用相对路径代替绝对路径,其实log4j的FileAppender本身就有这样的机制,如:log4j.appender.lo... 阅读全文
posted @ 2011-08-24 19:05 thunderhao 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Spring 2.5 中除了提供 @Component 注释外,还定义了几个拥有特殊语义的注释,它们分别是:@Repository、@Service 和 @Controller。在目前的 Spring 版本中,这 3 个注释和 @Component 是等效的,但是从注释类的命名上,很容易看出这 3 ... 阅读全文
posted @ 2011-08-24 18:58 thunderhao 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 转自:http://hi.baidu.com/oritenson/blog/item/968992523f6793998d543022.html一般我们直接将log4j.properties放置在src目录下,这样系统自动会找到的,其实就是放在WEB-INF/classes文件下。这个路径在clas... 阅读全文
posted @ 2011-08-24 18:42 thunderhao 阅读(759) 评论(0) 推荐(0) 编辑
摘要: gvim已启动就全屏:set lines=1000 :set columns=1000 阅读全文
posted @ 2011-08-24 15:30 thunderhao 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 编辑工程的.project文件: 添加 org.eclipse.wst.common.project.facet.core.nature org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jem.workbenc... 阅读全文
posted @ 2011-08-24 13:01 thunderhao 阅读(118) 评论(0) 推荐(0) 编辑