摘要: 1.如果是web工程,web.xml需要配置监听器: <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class></listener>2.applicationContext.xml配置:<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.o 阅读全文
posted @ 2012-11-05 13:14 langke93 阅读(3711) 评论(0) 推荐(0)