我在我的javascript中有一个ajax调用,它以json的形式返回一些响应并将json值重定向到另一个jsp页面..在重定向的jsp页面中,我在url选项卡中获取了整个json..如何避免这种情况......这是我在js文件中的ajax调用...
var cols="PRIORITY,USER_ID,PARTICIPANT_TYPE,CREATION_DATE,ASSIGN_TO_USER_DATE,START_WORK_DATE,DUE_DATE,OPERATION,ORDER_VK,SENDER_TYPE,SENDER_ID,ORDER_ID,FLAGS";
var ioArgs = {
url: "./DynamicDBServlet",
content: { TABLE_NAME:'CWPWORKLIST',WHERE_CONDN:cond,COLUMNS:cols},
handleAs: "json",
load: function(response) {
alert("new "+new String(response));
window.location.href = "worklist.jsp?PRIORITY="+response;
},
error: function(error) {
alert("An unexpected error occurred: " + error);
}
};