java.lang.Exception: 公告记录DAO增加错误:Column 'newscontent' cannot be null

<form class="form-horizontal" action="${path}/news/add.do" method="post" enctype="multipart/form-data">
  <div class="control-group">
    <label class="control-label" for="inputnewstopic">主题</label>
    <div class="controls">
      <input type="text" class="input-xlarge" id="inputnewstopic" name="inputnewstopic" maxlength="80" required placeholder="主题内容">
    </div>
  </div>
  <div class="control-group">
    <label class="control-label" for="inputinput">发布用户</label>
    <div class="controls">
      <select name="inputinput" class="span5" required>
  <option>销售人员</option>
  <option>维修人员</option>
  <option>经理/管理员</option>
</select>
    </div>
  </div>
<div class="control-group">
    <label class="control-label" for="inputnewscontent">内容</label>
    <div class="controls">
    <textarea rows="8" cols="50" class="input-xlarge" id="inputnewscontent" name="inputnewscontent" required placeholder="请输入要发布的公告内容"></textarea>
    </div>
 </div>
 <div class="control-group">
    <label class="control-label" for="inputnewsdate">订购日期</label>
    <div class="controls">
      <input type="date" name="inputnewsdate" id="inputnewsdate" required>
    </div>
</div>


public interface INewsDao {

    public void create(NewsValue nv)throws Exception;
    //增加公告记录
    public void delete(NewsValue nv)throws Exception;
    //删除公告记录
    public List<NewsValue> getList() throws Exception;
    //返回所有公告记录
    public List<NewsValue> search(String newstopic) throws Exception;
    //根据主题返回搜索公告记录
    public NewsValue get(int newsid) throws Exception;

}


        public void create(NewsValue nv) throws Exception {
            // 增加新的销售记录
            String sql="INSERT INTO `carsell`.`news`(`newsid`,`newstopic`,`newscontent`,`newsinput`,`newsdate`) VALUES ( NULL,?,?,?,?)";
            Connection cn=null;
            try{
                cn=ConnectionFactory.getConnection();
                PreparedStatement ps =cn.prepareStatement(sql);
                ps.setString(1, nv.getNewstopic());
                ps.setString(2,nv.getNewscontent());
                ps.setString(3, nv.getNewsinput());
                ps.setString(4, nv.getNewsdate());
                ps.executeUpdate();
                ps.close();
            }catch(Exception e){
                throw new Exception("公告记录DAO增加错误:"+e.getMessage());
            }finally{
                cn.close();
            }
        }

        public interface INews {
    public void add(int newsid,String newstopic,String newscontent,String newsinput,String newsdate) throws Exception;
    public void delete(int newsid) throws Exception;
    public NewsValue getNews(int newsid) throws Exception;
    public List<NewsValue> getlist() throws Exception;
    public List<NewsValue> search(String newstopic) throws Exception;


    public void add(int newsid, String newstopic, String newscontent, String newsinput, String newsdate)
            throws Exception {
            //增加公告
            NewsValue nv=new NewsValue();
            nv.setNewsid(newsid);
            nv.setNewstopic(newstopic);
            nv.setNewscontent(newscontent);
            nv.setNewsinput(newsinput);
            nv.setNewsdate(newsdate);
            INewsDao ndo=DaoFactory.getNewsDao();
            ndo.create(nv);
        }

        try {
            request.setCharacterEncoding("utf-8");
            INews news=BusinessFactory.getNews();
            int newsid=0;
            String newstopic=request.getParameter("inputnewstopic");
            String newscontent=request.getParameter("inputnewscontent");
            String input=request.getParameter("inputinput");
            String newsdate=request.getParameter("inputnewsdate");

            news.add(newsid,newstopic,newscontent,input,newsdate);

            response.setCharacterEncoding("utf-8");
            response.sendRedirect("main.do");
            //转发到员工主页
        } catch (Exception e) {
            String mess=e.getMessage();
            response.sendRedirect("../index/error.jsp?mess="+mess);
            e.printStackTrace();
        }

    }

ps.setString(2,nv.getNewscontent());
调试下这里有没有取到值
如果没有,页面form是否完整,用抓包工具看下post的请求

你上面贴的是全部的吗?上面的form缺少一个结束标签