Home  >  Forum  >  Spring
Post New Query

Difference between mvc:annotation-driven and context:annotation-config in Spring

joined on
October 10,2013
Asked on August 22,2014
What's the difference between <mvc:annotation-driven /> and <context:annotation-config /> in Spring?
joined on
August 11,2014
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

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us