从日志看Spring启动过程
信息: Initializing Spring FrameworkServlet 'dispatcher'15:07:34,015 INFO DispatcherServlet:277 - FrameworkServlet 'dispatcher': initialization started15:07:34,015 INFO XmlWebApplicationContext:411 - Refreshing org.springframework.web.context.support.XmlWebApplicationContext@16477d9: display name [WebApplicationContext for namespace 'dispatcher-servlet']; startup date [Wed Mar 02 15:07:34 CST 2011]; parent: org.springframework.web.context.support.XmlWebApplicationContext@18c56d15:07:34,015 INFO XmlBeanDefinitionReader:323 - Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatcher-servlet.xml]15:07:34,046 INFO XmlWebApplicationContext:426 - Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@16477d9]: org.springframework.beans.factory.support.DefaultListableBeanFactory@c063ad15:07:34,062 INFO DefaultListableBeanFactory:414 - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@c063ad: defining beans [checkcodeController,userController,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,velocityConfig,viewResolver,multipartResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@15fc40c15:07:34,093 INFO VelocityConfigurer:222 - Loading Velocity config from [ServletContext resource [/WEB-INF/velocity.properties]]15:07:34,109 INFO VelocityConfigurer:138 - ClasspathResourceLoader with name 'springMacro' added to configured VelocityEngine15:07:34,375 INFO DispatcherServlet:296 - FrameworkServlet 'dispatcher': initialization completed in 360 ms2011-3-2 15:07:34 org.apache.coyote.http11.Http11Protocol start