在spring3.0中增加配置spring beans的新方式JavaConfig,可以替换spring的applicataion.xml配置.也即@Configuration对等<beans/>,@Bean对等<bean/>,关于@Configuration见<spring4.0之二:@Configuration的使用>. The following are the list of annotations introduced as part of the JavaC…
在写一个使用spring3 的form标签的例子时,一直报错,错误信息为:java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'user' available as request attribute .具体信息为: java.lang.IllegalStateException: Neither BindingResult nor plain target ob…