[Back end] Spring Index Redirect 처리
ContextPath로 접근하였을 때 index 페이지에서 로그인 페이지로 연결하는 예시이다. Controller 다양한 예제 @Controller public class IndexController { @GetMapping("/") public String indexView() { return "/index"; } } @Controller public class IndexController { @GetMapping("/") public String indexView() { return "redirect:/index"; } } @Controller public class IndexController { @GetMapping("/") public RedirectView indexView() { return..
프로그래밍/Back end
2020. 2. 2. 23:39
공지사항
최근에 올라온 글
최근에 달린 댓글
링크
TAG
- 이직
- Java
- 개발환경
- 리눅스 명령어
- Eclipse
- 리액트 16
- 프로그래머스
- spring
- 제주도 여행
- 제주도 3박4일 일정
- SQL
- Tomcat
- Linux 명령어
- Collection
- 자바스크립트
- 회고
- 리액트
- javascript
- 경력관리
- 자바
- effective java
- 오라클 내장 함수
- 프로그래머
- 성능분석
- 오라클
- 정렬 알고리즘
- 소프트웨어공학
- React
- sort algorithm
- Maven
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함