摘要:
参考见:http://blog.csdn.net/wendellup/article/details/8352090今天在使用springmvc 控制器跳转到新增页面时,报错了:java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'command' available as request attribute at org.springframework.web.servlet.support.BindStatus.(BindStatus.jav 阅读全文
摘要:
转自:http://www.cnblogs.com/archie2010/archive/2011/05/06/2038792.htmlSpringMVC与Ibatis框架整合所使用版本Ibatis 2.3.4Spring 3.0web.xml characterEncodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 ... 阅读全文
摘要:
转自:http://www.blogjava.net/pengo/archive/2010/11/28/339229.html弃用了struts,用spring mvc框架做了几个项目,感觉都不错,而且使用了注解方式,可以省掉一大堆配置文件。本文主要介绍使用注解方式配置的spring mvc,之前写的spring3.0 mvc和rest小例子没有介绍到数据层的内容,现在这一篇补上。下面开始贴代码。文中用的框架版本:spring 3,hibernate 3,没有的,自己上网下。web.xml配置:s3h3contextConfigLocationclasspath:applicationCont 阅读全文