Spring MVC中xxx-servlet.xml与ApplicationContext.xml
xxx-servlet.xml与ApplciationContext.xml
如果直接使用SpringMVC是可以不添加applicationContext.xml文件的。
使用applicationContext.xml文件时是需要在web.xml中添加listener的:
<listener>
<listener-class>
org.springframework.web.
原创
2017-11-21 14:18:08 ·
1033 阅读 ·
0 评论