读书人

spring 一些记要

发布时间: 2012-07-05 07:59:17 作者: rapoo

spring 一些记录

spring初始化代码




spring梳理依赖关系方法//TODO

DispatchServlet属性

Parameter DescriptionDefault ValuecontextClass Type of WebApplicationContext to useXmlWebApplicationContextnamespace The namespace of the WebApplicationContext to use[name of servlet]-servletcontextConfigLocation Parameter to override the default value of location(s) to look for WebApplicationContext(s)/WEB-INF/[namespace].xmlpublishContextWhether or not to publish to ApplicationContext in the ServletContext (making it available to other Servlets)true

?

spring mvc 如何实现参数自动映射

?

解决问题实现类思路方法中String类型的形式参数映射LocalVariableTableParameterNameDiscoverer使用asm包的ClassReader???

读书人网 >软件架构设计

热点推荐