在web应用程序中使用Spring

若是想把spring用在web应用程序上,只须要修改三步web 1.把applicationContext.xml放到WEB-INF下 spring 2.另外导入一个jar包spring-web-3.2.4.RELEASE.jartomcat 3.在web.xml中配置一个监听器 ContextLoaderListener服务器 <listener> <listener-class> o
相关文章
相关标签/搜索