1:使用js編碼
var value=window.encodeURI(window.encodeURI(strValue));
2:Java類中解碼。
String str=URLDecoder.decode(value,"UTF-8");
1:使用js編碼
var value=window.encodeURI(window.encodeURI(strValue));
2:Java類中解碼。
String str=URLDecoder.decode(value,"UTF-8");