Reference data using @ModelAttribute
- by Eqbal
I am trying to populate couple of select lists on a form and I am using @ModelAttribute to annotate the get method for these lists.
I am getting an exception when I try to access the resource:
java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'command' available as request attribute