Reference data using @ModelAttribute
Posted
by Eqbal
on Stack Overflow
See other posts from Stack Overflow
or by Eqbal
Published on 2010-05-03T22:04:20Z
Indexed on
2010/05/03
22:08 UTC
Read the original article
Hit count: 358
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
© Stack Overflow or respective owner