csdn.forum.web
csdn.forum.service
csdn.forum.dao
spring context中配置的componentScan="csdn.forum"
spring mvc中配置的componentScan="csdn.forum.web",一定不能扫到service和dao,否则事务不起作用
csdn.forum.web
csdn.forum.service
csdn.forum.dao
spring context中配置的componentScan="csdn.forum"
spring mvc中配置的componentScan="csdn.forum.web",一定不能扫到service和dao,否则事务不起作用