JAVA 외부 URL 호출 JSON 형태 가져오기
CALL JSP $.ajax({url: "외부컨트롤러호출.do",headers : { "Content-Type" : "application/json; charset=UTF-8" },dataType : 'json', type: "GET",success: function(data) {console.log("성공");},error: function (data) {console.log("실패");console.log(data);}}); CONTROLL JAVA@RequestMapping("외부컨트롤러호출.do")public ModelAndView myPageMain(HttpServletRequest req, HttpServletResponse res) throws Exception {Map dataMap = n..