SpringMVC配置

  SpringMVC应用程序是通过web.xml文件初始化的(这是JavaWeb应用程序的标准配置文件),但配置是通过bean定义XML执行的。DispatcherServlet和ContextLoaderListener都是在web.xml中定义的,它为整个SpringMVC应用程序提供初始化和引导进程,Controller和ViewResolver出现在spring-servlet.xml中,服务层和非Web特定的支撑服务出现在applicationContext.xml中

原文地址:https://www.cnblogs.com/fuland/p/4036793.html