java get方式提交乱码问题

String userName=request.getParameter("userName");try {       userName=java.net.URLDecoder.decode(userName,"UTF-8");}catch (UnsupportedEncodingException e) {    log4j.error(e.getMessage());    e.printStackTrace();}

你可能感兴趣的:(java,log4j,.net)