ConcretePage.com
HOME
ALL TUTORIALS
JAVA 8
SPRING BOOT
ANGULAR
ANDROID
Q&A
|
Sign In
Ask Question
Difference between mvc:annotation-driven and context:annotation-config in Spring
Spring
GuruJi
Asked on August 22, 2014
What's the difference between <mvc:annotation-driven /> and <context:annotation-config /> in Spring?
Aamir
Replied on August 25, 2014
<mvc:annotation-driven />
: Supports MVC annotations like @Controller, @RequestMapping, @ResponseBody etc.
<context:annotation-config />
: Supports General spring annotations like @Autowired, @Required etc.
Write Answer
Login | Sign Up
Related Post
Spring Boot Hikari Default Pool Size
java.lang.IllegalArgumentException: Not a managed type
No plugin found for prefix 'spring-boot' in the current project
Caused by: java.lang.UnsupportedClassVersionError: org/springframework/boot/maven/RunMojo
Column name pattern can not be NULL or empty
Caused by: java.lang.IllegalStateException: Duplicate mock definition
RestTemplate postForLocation() vs exchange()
RestTemplate postForEntity() vs exchange()
RestTemplate postForObject() vs exchange()
RestTemplate getForEntity() vs exchange()
RestTemplate getForObject() vs exchange()
RestTemplate postForObject() vs postForEntity() vs postForLocation()
RestTemplate getForObject() vs getForEntity()
Spring WebFlux : No serializer found for class DefaultServerResponseBuilder$BodyInserterResponse
Spring WebFlux Performance
Servers supporting Spring WebFlux
Spring MVC vs WebFlux
Spring WebFlux : Annotated Controllers vs Functional Endpoints
What is Spring WebFlux and when to use it
Could not extract response: no suitable HttpMessageConverter found for response type and content type
Response Body coming null in Code but coming proper using Postman
No qualifying bean of type 'org.springframework.security. oauth2.client.OAuth2ClientContext' available
UserRedirectRequiredException: A redirect is required to get the users approval
Error creating bean with name 'ResourceServerConfiguration' - Spring Boot Security OAuth2
java.lang.NoClassDefFoundError: org/bouncycastle/crypto/generators/SCrypt
java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id 'null'
NoSuchBeanDefinitionException: No bean named 'transactionManager' available
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
org.h2.jdbc.JdbcSQLNonTransientConnectionException: Database may be already in use
Failed to load driver class org.h2.Driver
Latest Forum Post
Spring Boot Hikari Default Pool Size
(Spring)
java.lang.IllegalArgumentException: Not a managed type
(Spring)
No plugin found for prefix 'spring-boot' in the current project
(Spring)
MaterialToolbar vs Toolbar
(Android)
What is the use of LayoutInflater in Android?
(Android)
About Us
We are a group of software developers.
We enjoy learning and sharing technologies.
To improve the site's content,
your valuable suggestions
are most welcome.
Thanks
Email :
concretepage@gmail.com
Mobile Apps
SCJP Quiz
ConcretePage.com
Utility
Age Calculator