SpringMVC配置

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

posted @ 2014-10-20 11:28  腐烂的翅膀  阅读(157)  评论(0编辑  收藏  举报