POST and GET for same controller method ?? ambiguous mapping
Hi,
we are working on an app which works fine but we have a problem where we need some controller methods to support GET and POST
So I am trying to make all all controller methods support GET and POST using the RequestMethod array option:
@RequestMapping( value = "/xxx/yyy", method = { RequestMethod.GET, RequestMethod.POST } )
public ModelAndView xxx( @RequestParam( ).... {
but it doesnt seem to work, I get ambiguous mapping errors
any ideas?