mvc:annotation-driven和context:component-scan区别

mvc:annotation-driven和context:component-scan区别 1. < mvc:annotation-driven/> < mvc:annotation-driven/>相当于注册了DefaultAnnotationHandlerMapping和AnnotationMethodHandlerAdapter 两个bean,配置一些messageconverter。即解
相关文章
相关标签/搜索