Hello!
I am migrating from Spring 2.5 to Spring 3.
They have introduced <mvc:annotation-driven />
which does some black magic. This is expected to be declared in servlet configuration file only.
In spring 2.5 I have just used <context:annotation-config />
and <context:component-scan base='...'/>
tags declared both in application-context.xml
and dispatcher servlet configuration xml with appropriate base packages to scan.
So I wonder what is the difference between mvc:annotation-driven
and context:annotation-config
tags in servlet config and what can I eleminate in spring 3 config files?