TablePagingController删除一条记录的解析: ...... } else if (strOper.equals("del")) { // oper:del String strId = request.getParameter("id"); int id = Integer.parseInt(strId); logger.info("Res-Host request id=[" + id + "]"); final boolean b = this.getDao().remove(id); model.put("JSON_OBJECT", b); } ...... TablePagingDao删除一条记录的操作: ...... /** * 删除一个对象. * * @param id * :ID * @return true/false */ public boolean remove(final int id) { JdbcTemplate jdbcTemplate = this.getJdbcTemplate(); String sql = "DELETE FROM invheader WHERE id=?"; jdbcTemplate.update(sql, new PreparedStatementSetter() { public void setValues(PreparedStatement ps) throws SQLException { ps.setInt(1, id); } }); return true; } .....