[SPRING BOOT] 2.InteliJ Hello 찍기
2021. 5. 20. 22:05
스프링
resources - static - index.html 생성 index.html Hello hello controller - hello 찍기 1. controller 패키지 만들고 안에 HelloController 생성 2. resources - templates 폴더안에 hello.html 생성 HelloController.java package hello.hellospring.controller; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; @Controller public class ..