@EnableWebMvc
annotation allows you to configure Spring application without using the XML
based configuration/declaration. This annotation is equivalent to using the <mvc:annotation-driven />
in XML
. Here is the list of some important features of the @EnableWebMvc
annotation :JSR-303
bean validation.HttpMessageConverter
support.