This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Handler Mapping with Annotations

 
ben anass
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Im trying to use the CommonsPathMapHandlerMapping to link urls/controllers with meta-data added on my controller code source..to make it work i declare the urlMapping as so :

<bean id="urlMapping" class="org.springframework.web.servlet.handler.metadata.CommonsPathMapHandlerMapping"/>

and in my controller i added the metadata :

/**
*@@org.springframework.web.servlet.handler.commonsattributes.PathMap("")
*/


This its not working, and my asking what are the libraries i have to add to my project, and also if i m in nedd for some tools to compile my attributes as its said in some web sites !!
Thank you all for your Help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic