Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Switching to spring 3 MVC  RSS feed

 
Ankit Chandrawat
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!