前段代码,使用两次encodeURI
var url = '<%=basePath%>purchase/submitCase.do?PURCHASE_IDS='+purchaseIds+'&PARAMARRAY='+paramArray;
url=encodeURI(encodeURI(url));
window.location.href=url;
后台解析
String paramStr = java.net.URLDecoder.decode(pd.getString("PARAMARRAY"),"UTF-8");
String purchaseId = java.net.URLDecoder.decode(pd.getString("PURCHASE_IDS"),"UTF-8");