首页 > 其他 > 详细

SSH三大框架经常发生的异常以及解决方案

时间:2015-04-09 17:41:49      阅读:234      评论:0      收藏:0      [点我收藏+]
  1. java.lang.IllegalArgumentException: attempt to create saveOrUpdate event with null entity异常

  2. @Namespace("/")
    @SuppressWarnings("serial")
    @Controller("regeditAction")
    @Scope("prototype")
    public class RegeditAction extends ActionSupport {
    @Resource
    private Regedit regedit;

  3. 要加入get方法,否则传过去的值就是空值

  4. public Regedit getRegedit(){
    
      return regedit;

 

SSH三大框架经常发生的异常以及解决方案

原文:http://5666522.blog.51cto.com/5656522/1630578

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!