2012年5月28日

商城项目加入spring框架

摘要: 1.加入相应的包: spring所需要的包还是挺多的.除了spring自己的包,还需要aopalliance....aspect...cglib...Commons-logging...Commons-pool...Commons-dhcp...2.在web.xml中的struts2的filter前加入下面两句:View Code 1 <listener>2 <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>3 </listener 阅读全文

posted @ 2012-05-28 08:50 saobchj 阅读(438) 评论(0) 推荐(0) 编辑

导航