encodeing编码问题
request.setCharacterEncoding("utf-8");他已经把请求过来的的数据编码,
那为啥这边又重复了一遍,
String password = URLEncoder.encode(request.getParameter("password"),"utf-8");
request.setCharacterEncoding("utf-8");他已经把请求过来的的数据编码,
那为啥这边又重复了一遍,
String password = URLEncoder.encode(request.getParameter("password"),"utf-8");
2016-10-12
举报