File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Spring and the fly likes Spring 2.5 MultiActionController methodNameResolver not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring 2.5 MultiActionController methodNameResolver not working" Watch "Spring 2.5 MultiActionController methodNameResolver not working" New topic
Author

Spring 2.5 MultiActionController methodNameResolver not working

Anoop Nair
Ranch Hand

Joined: Oct 29, 2008
Posts: 70
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

The response should be of type HttpServletResponse, not HttpServletRequest.


[My Blog]
All roads lead to JavaRanch
Anoop Nair
Ranch Hand

Joined: Oct 29, 2008
Posts: 70
thanks Christophe... just figured it out myself... took me 2 hours though....
 
jQuery in Action, 2nd edition
 
subject: Spring 2.5 MultiActionController methodNameResolver not working
 
Similar Threads
ParameterMethodNameResolver
Spring MVC -- where does the model code go?
how to tell MultiActionController Command Object is Of type com.dss.ems.model.User
DispatcherServlet vs ContextLoaderListener?
Problem in using multiaction controller in spring