![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
文章平均质量分 73
thtwinj2ee
认真做事,诚信做人.
展开
-
Spring框架与AOP思想的研究与应用
[size=x-large]引言 Aspect Oriented Programming(AOP)是近年来计算机技术中比较热门的话题之一。其发展历史从学术领域和研发机构的运用开始,目前流行的Spring应用程序框架将AOP思想融入了整个框架的设计开发与应用当中。使用Spring框架固然给我们的编程带来了好处与便利,但是同时存在着一个问题,对于初学者来说,所谓的“控制反转”,不是一个能够望文生...原创 2009-08-16 21:33:01 · 59 阅读 · 0 评论 -
Spring AOP execution 切入点表达式
[size=x-large]execution(modifiers-pattern? ret-type-pattern declaring-type-pattern? name-pattern(param-pattern) throws-pattern?) 除了返回类型模式(上面代码片断中的ret-type-pattern),名字模式和参数模式以外,所有的部分都是可选的。 返回类型模式决定了方法...原创 2010-07-22 14:43:26 · 99 阅读 · 0 评论 -
log4j:ERROR setFile(null,true) call failed;log4j.log (系统找不到指定的路径。)
[size=x-large]Web Server : Tomcat 5.X Spring : 1.X 为了让Web项目中的Spring 使用Log4j做如下配置: 1、在web.xml中添加如下内容: webAppRootKey webName.root 定义以后,在Web Conta...原创 2009-08-20 00:46:08 · 2601 阅读 · 0 评论