2012年5月22日

ContextLoaderListener与DispatcherServlet所加载的applicationContext的区别

摘要: http://starscream.iteye.com/blog/1107036http://yonge812.iteye.com/blog/1535488org.springframework.web.servlet.DispatcherServlet是使用Spring MVC时的Front Controller,并不会初始化applicationContext。只使用它,肯定会找不到bean定义。web程序必须使用org.springframework.web.context.ContextLoaderListenerorg.springframework.web.context.Cont 阅读全文

posted @ 2012-05-22 15:17 izumi 阅读(987) 评论(0) 推荐(0)

导航