반응형 contextpath1 javascript contextPath 구하는 방법 ctx, window.location.pathname, 프로젝트명 구하는 법 javascript contextPath 구하는 방법 ctx, window.location.pathname, 프로젝트명 구하는 법 1. taglib 사용 1 cs 2. window 객체에서 추출 1 const ctx = window.location.pathname.substring(0, window.location.pathname.indexOf("/",2)); cs 3. request 에서 추출 1 cs Programing/JavaScript 2018. 1. 25. 이전 1 다음 💲 추천 글 반응형