Blog Archives

Explicitly defining a Spring MVC Annotation-Based Controller

Beginning with Spring MVC 2.5, MVC controllers can be declared using theĀ @Controller annotation. Spring picks up the controller through this declaration in Spring servlet application context: <context:component-scan base-package=”com.myapp.controller” /> In the past, this has worked perfectly for me, and I

Posted in Java, Spring Tagged with: , ,


Follow Me

RSS FeedFollow me on Twitter