1.传递参数
var url = "*****Test.jsp?param1="+encodeURI(encodeURI(str));//对中文参数进行双层编码后再传递
或者
var url = "*****Test.jsp?param1="+str;
encodeURI(encodeURI(url));
2.接受参数
decodeRUI('${param.param1}',"utf-8");//对中文参数进行解码