来粉

2018年11月15日

servlet乱码

摘要: //这句话的意思,是让浏览器用utf8来解析返回的数据 response.setHeader("Content-type", "text/html;charset=UTF-8"); //这句话的意思,是告诉servlet用UTF-8转码,而不是用默认的ISO8859 response.setChar 阅读全文

posted @ 2018-11-15 19:53 来粉 阅读(112) 评论(0) 推荐(0) 编辑

2018年11月1日

mysql建表时

摘要: 问题:Incorrect column specifier for column 'id' 答案:原来自动增长列用int数据类型,不用varchar 阅读全文

posted @ 2018-11-01 20:43 来粉 阅读(120) 评论(0) 推荐(0) 编辑

导航