This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic