jq:
$.ajax({
type: "POST",
url: "${ctx}/taskManage/deleteTask",
contentType: "application/json; charset=utf-8",
data: taskId,
dataType: "json",
success: function (mesg) {},
error: function (mesg) { }
});
js:
location.href="${ctx}/taskManage/taskRerun.do?id="+taskId;