Welcome Page 만들기
resources/static/index.html 이걸 넣어주면 얘를 Welcome Page로 해준다. (도메인만 치고 왔을 때 첫 페이지)
<!DOCTYPE HTML>
<html>
<head>
<title>Hello</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
Hello
<a href="/hello">hello</a>
</body>
</html>
안에 코드를 넣어주면 웰컴 페이지가 만들어진다. 간단하게..
thymeleaf 템플릿 엔진 사용
공식사이트 : Thymeleaf
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
스피링 공식 튜토리얼 : Getting Started | Serving Web Content with Spring MVC
Serving Web Content with Spring MVC
this guide is designed to get you productive as quickly as possible and using the latest Spring project releases and techniques as recommended by the Spring team
spring.io
스프링 부트 메뉴얼 : Spring Boot Features
Spring Boot Features
Graceful shutdown is supported with all four embedded web servers (Jetty, Reactor Netty, Tomcat, and Undertow) and with both reactive and Servlet-based web applications. It occurs as part of closing the application context and is performed in the earliest
docs.spring.io
'Back-End > Spring' 카테고리의 다른 글
[Spring] 1. Spring 프로젝트 생성 (0) | 2022.06.26 |
---|