springboot 자원 자동 서빙1 [IntelliJ_Springboot] Springboot 자원 자동 서빙, 리다이렉트 vs 뷰 반환 방식 1. Springboot 자원 불러오기Spring Boot는 src/main/resources/static 디렉토리에 있는 정적 파일을 자동으로 서빙합니다.src/└── main/ └── resources/ ├── static/ │ └── css/ │ └── sign-in.css └── templates/ └── board/ └── index.html Welcome to the Board Index Page! 정적 파일 위치: 정적 파일은 src/main/resources/static 디렉토리에 배치합니다.템플릿 파일 링크: HTML 템플릿 파일에서 /css/sign-in.css"> .. Coding 공부/IntelliJ 2024. 5. 29. 이전 1 다음 728x90 반응형