"点提交按钮就会跳到elcipse的debug模式下"
意味着你在页面中某一行不小心设置了断点,所以才会跳到debug模式。检查一下吧,高度怀疑是PreparedStatement pstmt= DB.prepareStmt(conn,sql); 这一句附近。
insert into article values(null,?,?,?,?,now(),?)";
这是什么意思now() ,是
insert into article values(null,?,?,?,?,null,?)";
吗?
把短点清理掉