$.ajax({ type: "GET", url: "/checkName.do", data: "name=gjack", dataType:"json", success: function(data){ } });