welcome page = 도메인만 누르고 들어왔을 시의 첫 화면
welcome page를 만들어보자
step1) src - main - resources - static 에 커서를 둔 뒤 우클릭 시에 new - file 을 눌러 index.html 이라는 file 생성
<!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>
step2) localhost:8080 으로 들어가면 결과가 뜬다