상세 컨텐츠

본문 제목

[Spring] welcome 페이지 만들기 (인텔리제이)

개발 공부/Spring

by 양양츄 2024. 2. 26. 17:58

본문

 

Spring 프로젝트안에

 

resources 폴더 -> static 폴더 -> new file -> index.html 생성

 

index.html 파일에 아래의 html코드 작성 (hello 문구 출력되는 페이지 생성)

<!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>

관련글 더보기