web services - Is it necessary to define AnnotationMethodHandlerAdapter if i remove <mvc:annotation-driven>? -
as mentioned in http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/html/mvc.html
spring 3 introduces mvc xml configuration namespace simplifies setup of spring mvc inside web application. instead of registering low-level beans such annotationmethodhandleradapter, can use namespace , higher-level constructs. preferred unless require finer-grained control of configuration @ bean level.
i have used custom defaultannotationhandlermapping , need remove </mvc:annotation-driven> xml config avoid override of configuration </mvc:annotation-driven>.
is necessary declare bean annotationmethodhandleradapter or set default ?
please suggest.
Comments
Post a Comment