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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -