:om.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; checkthe manual that corresponds to your MySQL server version for the right syntax to use near '-depth_webpage: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
我已经在JSP中创建了一个投诉登记表,其中有一个类型为" time“的输入字段,而且时间不应该总是当前时间,因此我不能使用SQL的CURRENTTIME()方法。现在,当将它分配给数据库时,我得到了HTTP Status 500 - Internal Server Error,因为“请查看与您的MySQL服务器版本相对应的手册,了解要在第1行'.'20:20:00*/
下面是我的jsp代码,用于在"PCS“数据库的"test”表中插入时间。<