Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 숫자콤마
- 금액콤마
- RequestDispatcher
- express 테스트
- 자바스크립트 콤마
- nodejs 라우팅
- npm
- nodejs
- request.getAttribute
- app.get
- npm이란
- express
- express framework
- 콤마 정규식
- NodeJS란
- app.listen
- non-blocking
- express 실행
- nodejs express
- window nodeJs
- nodejs 설치
- expressjs
- nodejs npm
- V8 엔진
- npm express
- NPM 과 Express.js
- Express.js
- 자바스크립트 금액콤마
- 콤마 정규표현식
- app.use
Archives
- Today
- Total
목록RequestDispatcher (1)
Heung-9
[JAVA] java 에서 현재 URL 가져오기
java 에서 현재 URL 가져오기 Ex) http://localhost:8080/main/main.do 라는 주소로 화면이 실행되어있다고 가정한다. request.getRequestURI(); //test/WEB-INF/main/main.jsp (view 파일의 경로) request.getRequestURL(); //http://localhost:8080/test/WEB-INF/main/main.jsp (view파일의 전체경로) request.getServletPath(); //main.jsp (해당 view 파일명) 원래 원하는 출력값은 http://localhost:8080/main/main.do 웹브라우저상의 도메인 주소였는데 requestDispatcher 클래스를 사용하니 도메인주소는 안나오고..
Development /Java
2018. 7. 13. 18:12