This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!