When you are using ModelAndView and return a BindingResult,
if there is an error (i.e. constraint error), how do you get the error to display
on your jsp page? In other words, how do you pass the error message
inside result to a jsp file, to display to the user (i.e. "Error - duplicate
name").

For example:

Code:
public ModelAndView update(
			@Valid @ModelAttribute("example") example example,
			BindingResult result) {

		if (result.hasErrors()) {
			return new ModelAndView("example/edit").addObject(
					"example", example);
...
...
Thanks so much for any advice on this!