I'm using Spring 3.1.1.RELEASE. I have a model with the following attribute
import javax.validation.constraints.Size;
@Size(max=15)
private String name;
I validate the model in my controller my running
@RequestMapping(value = "/save", method = RequestMethod.POST)
public ModelAndView save(final Model model,
@Valid final MyForm myForm,
I would like to have the "15" value come from a properties file instead of hard-coded, but am unclear if that's possible or how its done. Any ideas?