摘要: 配置Servlet时可以设置的一些初始化参数,总结如下:ContextAttribute: 在ServletContext的属性中,要用作WebApplicationContext的属性名称。ContextClass: 创建WebApplicationContext的类型Con... 阅读全文
posted @ 2016-06-25 17:15 shugen 阅读(167) 评论(0) 推荐(0)
摘要: 在org.springframework.web.servlet.FrameworkServlet 中有下面这段代码 private class ContextRefreshListener implements ApplicationListener { ... 阅读全文
posted @ 2016-06-25 16:52 shugen 阅读(176) 评论(0) 推荐(0)