Spring Boot Resource Configuration
스프링 부트에서 정적 파일(css, js, images 파일 등등) 에 대한 경로를 지정할 때 아래와 같이 설정하면 됩니다. 123456789101112131415161718192021import org.springframework.context.annotation.Configuration;import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; @Configurationpublic class StaticResourceConfiguration extends WebMvcCon..
생활코딩/Spring
2016. 10. 11. 14:07
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- jQuery 삽입
- 초대장
- 오프라인 확인
- bootstrap
- spring jpa
- learning javascript
- telegram bot
- summernote
- java
- log4jdbc
- jsonify
- RollingFileAppender
- WYSIWYG
- @Temporal
- Spring
- static resources
- AOP
- mybatipse
- 정적 파일
- Excel
- 스프링 부트
- 자바스크립트
- 쿼리 로그
- offline.js
- Spring Boot
- @Access
- 한성키보드
- AngularJS
- 브라우저 콘솔
- GO1104 LED
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함