私のajaxコード
$.ajax(
url : '/ABC/xyz.htm',
type : 'POST',
success : function(response) {
alert("success :" + response);
},
error : function(res) {
alert("error");
},
});
私のコントローラーコードは
@ RequestMapping ( value = "/xyz" , method = RequestMethod.POST)
public @ ResponseBody String getBranchList ( ) {
return "success";
}
しかし、完全なhtmlページが返されます。
春3.1.2を使用しています
これを解決するのを手伝ってください