springMVC配置文件部分簡化的意義和注意事項

springMVC簡化開發配置的幾點,主要關於 spring <mvc:annotation-driven />, <context:annotation-config/>, <context:component-scan />。 mvc <mvc:annotation-driven /> 會作如下幾件事:  app 向 spring 容器中註冊 DefaultAnnotationHandlerM
相關文章
相關標籤/搜索