mvc:annotation-driven和context:component-scan區別

mvc:annotation-driven和context:component-scan區別 1. < mvc:annotation-driven/> < mvc:annotation-driven/>相當於註冊了DefaultAnnotationHandlerMapping和AnnotationMethodHandlerAdapter 兩個bean,配置一些messageconverter。即解
相關文章
相關標籤/搜索