
Spring
JoesonChan
这个作者很懒,什么都没留下…
展开
-
Spring笔记1——控制反转容器
如果你是Spring新手的话你可以去http://download.csdn.net/detail/chenxuegui123/6881245下一些源代码例子看,如果你用过spring,那本文章可以当作知识的回顾原创 2014-01-24 17:30:03 · 4500 阅读 · 0 评论 -
Spring源码解读——Spring容器初始化 1
如果你是Spring新手的话,可以去http://download.csdn.net/detail/chenxuegui123/6881245下一些源代码例子跟着调试运行 因为WebApplicationContext 需要ServletContext 实例,也就是说它必须在拥有Web 容器的前提下才能完成启动的工作。有过Web 开发经验的读者都知道可以在web.xml 中配置自启动的Servlet 或定义Web 容器监听器(ServletContextListener),借助这两者中的任何一个,我们原创 2014-01-24 19:12:06 · 8157 阅读 · 2 评论 -
Spring源码解读——Spring容器初始化 2
这篇博客是前一篇博客Spring源码解读——Spring容器初始化 1的延续,在看这篇博客之前,最后先看一下前一篇 接着我们继续看WebApplicationContext的refresh()方法原创 2014-01-25 23:14:05 · 4700 阅读 · 0 评论 -
SpringMVC拦截器配置
1、实现HandlerInterceptor import org.springframework.stereotype.Component; import org.springframework.web.servlet.HandlerInterceptor; import org.springframework.web.servlet.ModelAndView; import jav...原创 2019-09-02 11:16:32 · 2851 阅读 · 0 评论