![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring
kakolukiya7
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalStateException: Argument [RedirectAttributes] is of type Model
java.lang.IllegalStateException: Argument [RedirectAttributes] is of type Model or Map but is not assignable from the actual model. You may need to switch newer MVC infrastructure classes to use thi转载 2015-07-09 11:36:54 · 2974 阅读 · 2 评论 -
Spring <tx:advice>事务配置
首先在/WEB-INF/applicationContext.xml添加以下内容: 注:这是作为公共使用的事务管理器Bean。这个会是事先配置好的,不需各个模块各自去配。 下面就开始配置各个模块所必须的部分,在各自的applicationContext-XXX-beans.xml配置的对于事务管理的详细信息。 首先就是配置事务的传播特性,如下:转载 2015-07-09 12:00:28 · 536 阅读 · 0 评论 -
Flash Attributes in Spring MVC 3.1
Spring 3.1 has added new feature called flash attributes. This is one of the most wanted feature from the spring developers. This solves the problem occured when POST/Redirect/Get pattern in the reque转载 2015-07-09 11:51:57 · 652 阅读 · 0 评论