
Spring Web static resources 오늘은 Spring Web에서 지원해주는 정적 리소스 경로 맵핑에 대해 공유해보겠습니다. 정적 리소스는 동적으로 만들어지지 않는 리소스 ex) 사진, javascript 등을 말합니다. 기본 리소스 위치 classpath:/static classpath:/public classpath:/resources classpath:/META-INF/resources html 생성 프로젝트 resources → static → hello.html hello.html Hello Static Resource 오호호 서버 실행 후 브라우저에서 확인해보겠습니다. 개발자 도구 (F12)를 열어서 Network 탭을 열어둔 후 다시 새로고침을 해보면 응답 코드가 200이 아닌..
Dev/Spring
2020. 11. 11. 23:13
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 스프링시큐리티
- spring web
- Security
- API
- 자바
- 스프링
- Spring
- FastAPI
- QueryDSL
- @formula
- springboot
- booleanExpression
- Java
- like절
- 유사결과
- ubuntu
- 개발
- 웹서비스
- ResourceHttpReqeustHandler
- howtoinstallnginx
- ControllerAdvice
- boot
- Python
- 스프링부트
- paawordencoder
- mapstruct
- springsecurity
- java11
- 스프링부트 시작하기
- JPA
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함