From c8735adc94e60a710aba5ca6d7c9750b23e4d32a Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Fri, 28 Apr 2023 15:58:21 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=95=84=EC=9D=B4=EB=94=94=20?= =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20=EC=B0=BE=EA=B8=B0=20?= =?UTF-8?q?=ED=8C=9D=EC=97=85=EC=B0=BD=20url=EB=A7=A4=ED=95=91=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kr/xit/framework/biz/cmm/web/XitLoginController.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/kr/xit/framework/biz/cmm/web/XitLoginController.java b/src/main/java/kr/xit/framework/biz/cmm/web/XitLoginController.java index 2c512a04..ee6afd19 100644 --- a/src/main/java/kr/xit/framework/biz/cmm/web/XitLoginController.java +++ b/src/main/java/kr/xit/framework/biz/cmm/web/XitLoginController.java @@ -284,6 +284,10 @@ public class XitLoginController { public ModelAndView findIdPopup(@PathVariable String page, @ModelAttribute("xitLoginVO") XitLoginVO vo) throws Exception{ ModelAndView mav = new ModelAndView(); + if(page.endsWith(".do") || page.endsWith(".ajax")){ + page = page.substring(0,page.lastIndexOf(".")); + } + switch (page) { case "input": //아이디 찾기 -정보입력 페이지 mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"login/findIdFormPopup.popup"); @@ -319,6 +323,10 @@ public class XitLoginController { public ModelAndView findPwdPopup(@ModelAttribute("xitUserInfoVO") XitUserInfoVO xitUserInfoVO, @PathVariable String page) throws RuntimeException { ModelAndView mav = new ModelAndView(); + if(page.endsWith(".do") || page.endsWith(".ajax")){ + page = page.substring(0,page.lastIndexOf(".")); + } + switch (page) { case "input": //비밀번호 찾기 -정보입력 페이지 mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"login/findPwdFormPopup.popup");