$.ajax({ type: "POST", url: "SendData.action", dataType:"JSON", data : dataToSend, contentType: "application/json; charset=utf-8", success: function(response, textStatus , xhr) { alert("success"); }, 错误: function(xhr, textStatus, errorThrown) { alert("error"); }
});
dataToSend getter 和 setter .. 我应该解析成 java 数组列表还是只需要打印 dataToSend