例外情况
json.jsonexception:3990处的字符串未终止[字符3991第1行]
javascript代码
function dialogUpdateConfirm(action) {
$('#dialogConfirm').dialog({
title : Update',
bgiframe : true,
width : 500,
height : 200,
autoOpen : false,
modal : true,
show : 'fold',
hide : 'blind',
resizable : false,
buttons : {
Yes : function() {
$(this).dialog("close");
var json = new Object();
json.arr = jsonSaveObject;
console.log(JSON.stringify(json));
// This output to the console is not getting cut off. But the jsonWFSManual is getting cut off once the java code executes.
window.location.href = 'updatemanual?action=' + action + '&jsonWFSManual=' + JSON.stringify(json);
},
No : function() { $(this).dialog("close"); }
}
});
代码在下面的行中失败。
String stringJSONOBject = ServletActionContext.getRequest().getParameter("jsonWFSManual");
这里有字符限制问题吗?