Servlet
Msoso_______1988
这个作者很懒,什么都没留下…
展开
-
servlet
今天在编写servlet的时候遇到了一调用该servlet就出现保存的页面,在网上查了查,原来是下面这句写错了: response.setContentType("text/html;charset=GBK");//正确的写法 我却把中间的“;”写成了“,”。 提示下载说明content-type指示不是浏览器可以处理的格式。比如image,h原创 2012-04-12 09:43:38 · 331 阅读 · 0 评论 -
利用Mysql进行update时,出现You have an error in your SQL syntax check the manual that corresponds to your My
总是出现You have an error in your SQL syntax check the manual that corresponds to your MySQL server version for the right syntax ...... at line 1错误。 代码如下: ps = conn.prepareStatement("update admin set原创 2012-04-12 09:45:17 · 3582 阅读 · 0 评论