I'm using a spring 3 RequestMapping within a controller defined like so :
@RequestMapping(value = "/myServlet" , method = RequestMethod.GET)
public @ResponseBody String performAction() {
return "success";
}
I'm attempting to implement a method which uses the Spring 2 method parameters, SimpleFormController is being extended, onSubmitAction is being overidden and a method using the onSubmitAction parameters is being called :
protected void onSubmitAction(ActionRequest request,
ActionResponse response,
Object command,
BindException errors)
{
methodCall(request,response,command,errors);
}
Is it possible to access these parameters(request,response,command,errors) using the spring 3 annotation @RequestMapping, or do I need to implement my controller differently?