摘要:
log4j.xml1、表示当前class的日志只会输出到当前日志中不会输入到其他日志中 2、设置指定类日志级别 3、禁止打印日志 4、自定义输出到指定文件中 ... 阅读全文
摘要:
1、spring引入mybatis 2、mybatis配置 ... 阅读全文
摘要:
SpringMVC基本包: org.springframework spring-webmvc 4.1.6.RELEASESpring测试包Junit org.springframework spring-test 4.1.6.RELEASE test junit junit... 阅读全文
摘要:
配置可以通过xml文件来进行,大概有四种方式:1. 配置ProxyFactoryBean,显式地设置advisors, advice, target等2. 配置AutoProxyCreator,这种方式下,还是如以前一样使用定义的bean,但是从容器中获得的其实已经是代理对象3. 通过来配置,使用A... 阅读全文