I really appreciate Spring 3 mappings driven by anonymous web controllers
I have many controllers with signatures such as:
@RequestMapping(value = "solicitation/create",method = RequestMethod.POST)
public String handleSubmitForm(Model model, @ModelAttribute("solicitation") Solicitation solicitation, BindingResult result)
But my problem is that I want to write an interceptor that will go through BindingResults after processing - how can I get them from HttpRequest or HttpResponse?
since intercpetor methods have the same signature
public boolean postHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
source
share