<a href=""></a>传参数到servlet,中文字段乱码的问题

在servlet里取参数ppath,这样取就可以了

String ppath = request.getParameter("ppath");

ppath = new String(ppath.getBytes("ISO-8859-1"),"UTF-8");

猜你喜欢

转载自blog.csdn.net/zhongmei121/article/details/44899699