Win a copy of Design for the Mind this week in the Design 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