3월, 2024의 게시물 표시

jsonp java 구현시 jQuery was not called 나오는 경우

 호출 하는 곳  function checkBal (){ var url = "http://1.1.1.1/Search/check?callback=?" $ . ajax ({ url: url , type : "GET" , dataType: "jsonp" , data: { 'id': 'test' }, jsonpCallback: "callback" , success: function ( data ) { console . log ( 'callback success' ); }, error: function ( request , status , error ){ console . log ( "code:" + request . status + "\n" + "message:" + request . responseText + "\n" + "error:" + error ); } }) 서버쪽 @RequestMapping ( value = "/check" , method = RequestMethod . GET ) @ResponseBody public void request ( @RequestParam String spcBizNo , @RequestParam String callback , HttpServletResponse response ) throws IOException { Map < String , String > paramMap = new HashMap < String , String > () ; ...

Server Tomcat v8.5 Server at localhost failed to start.

이미지
  출처: https://beagle-dev.tistory.com/76 [언젠간 되어있겠지:티스토리]