前台页面——调后台方法
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;