摘要: 【受 http://www.tmser.com/?post=34&page=1 这篇文章启发,自己写了一遍,代码微微有出入,方便自己理解。】 1.定义两个注解器(annotation):testA testB。 2.写一个被注解类:UserAnnotation,用来做被注解(对其Type、Metho 阅读全文
posted @ 2016-06-23 16:54 ajjiangxin 阅读(329) 评论(0) 推荐(0)
摘要: 前提1:web.xml中: 前提2:DispatcherServlet.xml中(另外就是几个interceptor) 前提3: 后文描述的情况,在<aop:aspectj-autoproxy proxy-target-class="true"/>与<aop:aspectj-autoproxy pr 阅读全文
posted @ 2016-06-23 00:56 ajjiangxin 阅读(5955) 评论(0) 推荐(0)