Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • 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....
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!