[Spring] jsonView 사용 방법 (json형태로 화면 반환)
·
STUDY/SpringLegacy
1. pom.xml 설정(Maven 설정) net.sf.json-lib json-lib-ext-spring 1.0.2 servlet-api javax.servlet 2. dispatcher-servlet.xml 설정 3. Controller 설정 @RequestMapping(value = "/biz/mkform/mkFormListJson.do") public ModelAndView selectMkFormListJson(CommandMap commandMap) throws Exception { ModelAndView mav = new ModelAndView("jsonView"); Map resultMap = mkFormService.selectUserTableList(commandMap.getMap());..