码迷,mamicode.com
首页 > 编程语言 > 详细

SpringMVC配置

时间:2014-10-20 13:20:39      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:io   java   sp   文件   on   ad   应用   res   程序   

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

SpringMVC配置

标签:io   java   sp   文件   on   ad   应用   res   程序   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!