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 |
Tags
- 연동
- Firebase
- SERVLET
- CUSTOM
- mysql
- 카카오톡
- 인텐트
- ImageView
- 하이브리드
- Java
- db
- spring boot
- 개발 방법론
- CSS
- Oracle
- html
- hybrid app
- spring
- php
- 사용법
- radiobutton
- 비밀번호
- Android
- centos7
- 강의
- ViewPager
- div
- 안드로이드
- 하이브리드 앱
- Typescript
Archives
- Today
- Total
목록외부 페이지 (1)
유혁의 개발 스토리
[Spring] 스프링 외부 URL 리다이렉트(Redirect to external URL)
Spring 웹 서버 내의 페이지 말고 외부 URL로 접근하고 싶을 때 @RequestMapping(value = "/movepage") public String Login(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws IOException { System.out.println("movepage"); final String redirectUrl = "redirect:http://www.naver.com"; return redirectUrl; } redirect:http://www.naver.com 하시면 됩니다. 감사합니다.
Spring
2017. 9. 7. 11:25