0
작업이 오류를 반환하면 index.action?notSupported=true
으로 리디렉션되는 Struts 2를 사용하는 웹 응용 프로그램이 있습니다. 여기에서 페이지를 새로 고침 할 때까지 index.action?notSupported=true
이 아닌 index.action
으로 다시 이동하는 방법이 있습니까?다시로드시 기본 URL로 리디렉션
작업이 오류를 반환하면 index.action?notSupported=true
으로 리디렉션되는 Struts 2를 사용하는 웹 응용 프로그램이 있습니다. 여기에서 페이지를 새로 고침 할 때까지 index.action?notSupported=true
이 아닌 index.action
으로 다시 이동하는 방법이 있습니까?다시로드시 기본 URL로 리디렉션
시도해보십시오.
window.location.href=window.location.href.substr(window.location.href,window.location.href.indexOf('?'))
희망이 ... 도움이