20190321001-Spring boot Redirect 처리
"/"로 접근시 특정 html 페이지로 리다이렉트를 시키고 싶었습니다. 기존 소스 12345678@Controllerpublic class WelcomeController { @GetMapping("/") public String index() { return new "redirect:/apidocs/index.html"; }}Colored by Color Scriptercs예전엔 별 문제가 없었는데 spring boot 2.x에서는 에러가 납니다. 아래처러 고치니 정상 작동합니다. 12345678@Controllerpublic class WelcomeController { @GetMapping("/") public RedirectView index() { return new RedirectView("/..
Working log
2019. 3. 21. 13:23
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 설정
- 스프링부트
- thymeleaf
- example
- Spring Boot
- 타임리프
- mybatis
- ag grid
- SHEETJS
- restful서비스
- cache
- RESTful
- REST
- 엑셀
- oracle
- 예제
- 그리드
- 스프링
- listToMap
- java
- spring
- Javascript
- 메시지
- lombok
- AG-GRID
- mapToList
- sample
- 샘플
- UI
- springboot
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함