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
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....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring 2.5 MultiActionController methodNameResolver not working