java api Enumeration
乱码的原因是它不是utf-8
解决响应时乱码
response.setcontentype(“text/html;charset=utf-8”);
response.setcharacterencoding(“utf-8”);
解决请求时乱码
request.setcharacterencoding(“utf-8”);
get和post的区别:
| |
| |
不保密和保密
java api Enumeration
乱码的原因是它不是utf-8
解决响应时乱码
response.setcontentype(“text/html;charset=utf-8”);
response.setcharacterencoding(“utf-8”);
解决请求时乱码
request.setcharacterencoding(“utf-8”);
get和post的区别:
| |
| |
不保密和保密