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 |
31 |
Tags
- 코딩도장
- suricata
- Github
- 크롤링 개발
- 인터넷의이해
- VSCode
- cloud
- Rocky Linux
- LINUX MASTER
- Powershell
- git
- GoogleDrive
- Spring
- Database
- Python
- colab
- ChatGPT
- Spring Boot
- KAKAO
- Docker
- Resnet
- API
- Web
- 고등학생 대상
- OSS
- C언어
- ICT멘토링
- rnn
- 국가과제
- Machine Learning
Archives
- Today
- Total
코딩두의 포트폴리오
static vs templates 본문
스프링부트 프로젝트의 src/main/resources 디렉토리에는 static과 templates 존재
디렉토리 구조
src
├── main
│ ├── java
│ ├── resources
│ │ ├── static
│ │ │ ├── css
│ │ │ │ └── style.css
│ │ │ ├── js
│ │ │ │ └── script.js
│ │ │ └── images
│ │ │ └── logo.png
│ │ ├── templates
│ │ │ └── index.html
│ │ └── application.properties
└── test
static
정적인 리소스 파일(CSS, JS, 이미지 등)을 저장
스프링 부트는 이 폴더 내의 파일을 자동으로 제공함
templates
동적인 HTML 파일 저장
Thymeleaf, Freemarker 등의 템플릿 엔진과 함께 사용됨
'2024 Tourism Data Utilization Contest > Spring Boot 2' 카테고리의 다른 글
이클립스 맞춤법 검사 비활성화 (1) | 2024.07.01 |
---|---|
Spring Security 의존성 제거 (0) | 2024.06.27 |
프로젝트 재생성 (1) | 2024.06.26 |