温馨提示:您的每一次转载,体现了我写此文的意义!!!烦请您在转载时注明出处http://www.blogjava.net/sxyx2008/谢谢合作!!!

雪山飞鹄

温馨提示:您的每一次转载,体现了我写此文的意义!!!烦请您在转载时注明出处http://www.blogjava.net/sxyx2008/谢谢合作!!!

BlogJava 首页 新随笔 联系 聚合 管理
  215 Posts :: 1 Stories :: 674 Comments :: 0 Trackbacks
Struts2整合spring时应注意action的单实例问题
注意要设置,action bean 的 scope 的值。因为spring的bean默认为单实例singleton,故一定要设scope的值但不能为singleton。建议设置为prototype或request
posted on 2009-10-20 16:54 雪山飞鹄 阅读(358) 评论(0)  编辑  收藏 所属分类: struts2

只有注册用户登录后才能发表评论。


网站导航: