You should take special care for the validation phase:
let's say you have this method:
@RequestMapping(method = RequestMethod.POST)
public String processSubmit(@RequestParam("formBeanName")...
Type: Posts; User: marian.venin; Keyword(s):
You should take special care for the validation phase:
let's say you have this method:
@RequestMapping(method = RequestMethod.POST)
public String processSubmit(@RequestParam("formBeanName")...
let's say you have something like this(many form in page)
@RequestMapping(method = RequestMethod.POST)
public String processSubmit(@RequestParam("formBeanName") String formBeanName,...
I use one controller for all the forms I may have in a page.
Every form has a hidden element name="formBeanName".
In setupForm method(described below), I add all formBeans to session(I know when...