재 현
스프링 뷰 본문
src > resources > static > index.html 생성하면 정적 화면을 웹 브라우저에 전달
- spring은 굉장히 거대하기 때문에 검색하는 능력을 기르는 것이 중요하다.
spring.io > projects > spring boot > learn > reference doc > "서치"
https://docs.spring.io/spring-boot/docs/current/reference/html/
Spring Boot Reference Documentation
The reference documentation consists of the following sections: Legal Legal information. Getting Help Resources for getting help. Documentation Overview About the Documentation, First Steps, and more. Getting Started Introducing Spring Boot, System Require
docs.spring.io
마찬가지로 Thymeleaf 사이트 들어가서 사용법 익히기 (정적인 html을 동적인 html로)
Thymeleaf
Integrations galore Eclipse, IntelliJ IDEA, Spring, Play, even the up-and-coming Model-View-Controller API for Java EE 8. Write Thymeleaf in your favourite tools, using your favourite web-development framework. Check out our Ecosystem to see more integrati
www.thymeleaf.org
Controller는 @Controller라고 적어줘야 한다.
웹 어플리케이션에서 /hello 라고 들어오면 이 메소드를 실행시켜준다.
'Java > Spring' 카테고리의 다른 글
MVC와 템플릿 엔진 (0) | 2021.06.29 |
---|---|
스프링 빌드 (0) | 2021.06.28 |
스프링 could not parse / thymeleaf 오류 (0) | 2021.06.28 |
스프링 라이브러리 살펴보기 (0) | 2021.06.28 |
스프링 환경설정 (0) | 2021.06.28 |