• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring 2.5 MultiActionController methodNameResolver not working

 
Anoop Nair
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

I am using a MultiActionControllerwith ParameterMethodNameResolver. I am getting error saying
[PageNotFound] No request handling method with name 'myMethod' in class [com.domain.MyController]


Below is my application-servlet.xml



Below is my Controller class:



Can someone please tell me what I am missing ??
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The response should be of type HttpServletResponse, not HttpServletRequest.
 
Anoop Nair
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Christophe... just figured it out myself... took me 2 hours though....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic