fix : 아이디 비밀번호 찾기 팝업창 url매핑 수정

main
이범준 2 years ago
parent 68525881a4
commit c8735adc94

@ -284,6 +284,10 @@ public class XitLoginController {
public ModelAndView findIdPopup(@PathVariable String page, @ModelAttribute("xitLoginVO") XitLoginVO vo) throws Exception{ public ModelAndView findIdPopup(@PathVariable String page, @ModelAttribute("xitLoginVO") XitLoginVO vo) throws Exception{
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView();
if(page.endsWith(".do") || page.endsWith(".ajax")){
page = page.substring(0,page.lastIndexOf("."));
}
switch (page) { switch (page) {
case "input": //아이디 찾기 -정보입력 페이지 case "input": //아이디 찾기 -정보입력 페이지
mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"login/findIdFormPopup.popup"); 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 { public ModelAndView findPwdPopup(@ModelAttribute("xitUserInfoVO") XitUserInfoVO xitUserInfoVO, @PathVariable String page) throws RuntimeException {
ModelAndView mav = new ModelAndView(); ModelAndView mav = new ModelAndView();
if(page.endsWith(".do") || page.endsWith(".ajax")){
page = page.substring(0,page.lastIndexOf("."));
}
switch (page) { switch (page) {
case "input": //비밀번호 찾기 -정보입력 페이지 case "input": //비밀번호 찾기 -정보입력 페이지
mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"login/findPwdFormPopup.popup"); mav.setViewName(FrameworkConstants.FRAMEWORK_JSP_BASE_PATH +"login/findPwdFormPopup.popup");

Loading…
Cancel
Save