resources/static/index.html
에 넣으면 자동으로 welcome page 기능 제공<!DOCTYPE HTML>
<html>
<heda>
<title> hello world </title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</heda>
<body>
hello
<a href="/hello">world</a>
</body>
</html>
필요한 자료 찾는 법
https://spring.io/projects/spring-boot
https://docs.spring.io/spring-boot/docs/current/reference/html/
여기서 관련 된 페이지에 들어가서 Contrl+ F로 검색하면 됨
localhost:8080/hello
라고 던진다기본 세팅
: resources:templates/ +{ViewName}+ .html 이 열리게 됨.** spring-boot-devtools 라이브러리 추가 시 html 파일을 컴파일만 해주면 서버 재시작 없이 View 파일 변경 가능
빌드 → Recompile