摘要: 1.设置工程的编码方式 window-preferences-general-workspace 改成uef-8 2.设置html的编码方式 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 该语句告诉浏览器该用什 阅读全文
posted @ 2018-02-28 11:41 取什么昵称呢 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.html页面ajax请求/login。后台报: Request method 'GET' not supported 原因: 后台请求使用了method = POST,但是url请求没有formdata,该情况下浏览器会默认是用GET请求 解决方式: 修改后台请求方式为Get 或者在ajax请求 阅读全文
posted @ 2018-02-28 11:30 取什么昵称呢 阅读(109) 评论(0) 推荐(0) 编辑