File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Switching to spring 3 MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Switching to spring 3 MVC" Watch "Switching to spring 3 MVC" New topic
Author

Switching to spring 3 MVC

Ankit Chandrawat
Ranch Hand

Joined: Jan 03, 2008
Posts: 87
Hi,

We have just migrated from spring 2 to spring 3. The mapping defined in dispatcher servlet is done in the following way for all the controllers and other spring classes.( I have given just a rough idea of how mapping has been done).



Now I want to create a new controller using @Controller annotation and need to be provide the mapping in dispatcher servlet. As far as I know for that I shall have to use
<context:annotation-config/> for auto detection. Is it possible to implement <context:annotation-config/> just for the one new controller that I am going to implement. If yes then how ?
Please let me know if I need to be more clear with my query.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Switching to spring 3 MVC