diff --git a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java index 4c96b944..6ffafafe 100644 --- a/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java +++ b/src/main/java/kr/xit/fims/biz/cmm/fimsTotalPopup/web/FimsTotalPopupController.java @@ -4,6 +4,7 @@ package kr.xit.fims.biz.cmm.fimsTotalPopup.web; import kr.xit.fims.biz.cmm.FimsConst; import kr.xit.fims.biz.cmm.fimsTotalPopup.model.FimsTotalPopupVO; import kr.xit.fims.biz.cmm.fimsTotalPopup.service.FimsTotalPopupService; +import kr.xit.framework.core.constants.FrameworkConstants; import kr.xit.framework.core.message.XitMessageSource; import kr.xit.framework.core.validation.XitBeanValidator; import org.springframework.stereotype.Controller; @@ -45,7 +46,7 @@ public class FimsTotalPopupController { * @author: 최정민 * @date: 2022. 9. 20. */ - @GetMapping(value = "/fimsTotalPopup.do") + @GetMapping(value = "/fimsTotalPopup") public String popup(@RequestParam String selectedId, FimsTotalPopupVO vo, Model model){ vo.setReglt_id(selectedId); @@ -59,11 +60,11 @@ public class FimsTotalPopupController { return FimsConst.FIMS_JSP_BASE_PATH +"common/popup/fimsTotal" +"_"+new Object() {}.getClass().getEnclosingMethod().getName() - +".popup"; //메소드명 + +".fims-pop"; //메소드명 } - @PutMapping(value="update.do") + @PutMapping(value="/update") public String update(@RequestBody FimsTotalPopupVO vo, FimsTotalPopupVO fimsTotalPopupVO, BindingResult bindingResult){ xitBeanValidator.validate(vo, bindingResult); @@ -71,12 +72,12 @@ public class FimsTotalPopupController { fimsTotalPopupService.modifyProc(vo); - return "jsonView"; + return FrameworkConstants.JSON_VIEW; } @DeleteMapping(value="delete.do") public String delete(){ - return "jsonView"; + return FrameworkConstants.JSON_VIEW; } } diff --git a/src/main/webapp/WEB-INF/tiles/layout-tiles-defs.xml b/src/main/webapp/WEB-INF/tiles/layout-tiles-defs.xml index c45843ca..4b45fe92 100644 --- a/src/main/webapp/WEB-INF/tiles/layout-tiles-defs.xml +++ b/src/main/webapp/WEB-INF/tiles/layout-tiles-defs.xml @@ -1,7 +1,7 @@ + "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN" + "http://tiles.apache.org/dtds/tiles-config_3_0.dtd"> @@ -90,8 +90,30 @@ - - + + + + + + + + + + + + + + + + + + + + + + + +