java中传中文直接Action处理不使用加密处理
S2.html?MLMZ=中文汉字
Action 处理接收
String MLMZ= new String(request.getParameter("MLMZ").getBytes("ISO-8859-1"),"utf-8");
即MLMZ输出是中文汉字
S2.html?MLMZ=中文汉字
Action 处理接收
String MLMZ= new String(request.getParameter("MLMZ").getBytes("ISO-8859-1"),"utf-8");
即MLMZ输出是中文汉字