今天跑了下新搭的一个SSI框架。报如下错误:
严重: Exception sending context initialized event to listener instance of class com.j.chat.upgrade.web.core.SystemLaunchListener
java.lang.IllegalStateException: No WebApplicat...
分类:
移动开发 时间:
2014-07-15 10:43:08
阅读次数:
405
使用了listener监听器来加载配置,一般在Struts+Spring+Hibernate的项目中都是使用listener监听器的。如下
org.springframework.web.context.ContextLoaderListener
Spring会创建一个WebApplicationContext上下文,称为容器,保存在
ServletConte...
分类:
移动开发 时间:
2014-06-02 02:58:54
阅读次数:
281
spring获取webapplicationcontext,applicationcontext几种方法详解
分类:
移动开发 时间:
2014-05-01 12:30:50
阅读次数:
460
在WebApplicationContext中默认内置了DispatcherServlet依赖的bean!我们可以根据实际的项目需要对这些bean进行自定义参数设置。因为如果在配置文件中存在我们自定义的bean那么默认的bean将被覆盖。
下面详解一下MVC中默认是用了哪些bean。
1、HandlerMapping 处理请求映射的路劲
2、HandlerAdapter
3、Handler...
分类:
移动开发 时间:
2014-04-30 22:21:39
阅读次数:
344