#BindingResult

Neither BindingResult nor plain target object for bean name 'command' available as request attribute

最近用JSR303在表单提交时使用JavaBeanValidation验证数据。报错堆栈如下:java.lang.IllegalStateException:NeitherBindingResultnorplaintargetobjectforbeanname'command'availableasrequestatt...