Marc Cracco wrote:
I'm not sure which methods in your controller class you're referring to. For example if you're using a SimpleFromController and handleRequest() then it is
an implementation of org.springframework.web.servlet.mvc.Controller Interface and the API is :
ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
Process the request and return a ModelAndView object which the DispatcherServlet will render.
So all you can return is a ModelAndView... or a subclass
I believe it's the same for onSubmit()...
Is that what you were looking for?
Spring Framework Doc 2.5.6