$.ajax({
url: '${pageContext.request.contextPath}/json/admin.json',
type: 'POST',
data:{},
dataType: 'json',
success: function (data) {
// 请求成功的回掉函数
},
error: function (msg) {
// 请求失败的回掉函数
}
});