exception
vtison
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
常见异常
①quote symbol expected 某个地方引号不正确 ②Attribute dataSourec invalid for tag query according to TLD 没有这个属性存在,例如JSTL标签中的写错的属性 ③Cannot create resource instance 没有在web.xml写入绑定内容,JNDI,绑定内容不正确原创 2014-07-16 10:15:55 · 311 阅读 · 0 评论 -
sql异常
①com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'form原创 2014-07-16 10:12:13 · 365 阅读 · 0 评论 -
代码编写注意
①out.println ("删除"); 在输出链接时,要注意加单引号 ②stm.execute("deletefrom products where productid='"+productId+"'"); 在删除等操作时,要注意在参数或变量两侧加单引号 不然就会报错 javax.servlet.ServletException: com.mysql.jdbc.exc原创 2014-07-24 12:05:06 · 325 阅读 · 0 评论
分享