728x90
maven 설정파일 다운로드
https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-thymeleaf/2.7.10
소스 파일 - > pom.xml 파일에서 depebdecies 내에 가져오기
html 파일에서 링크 연결
<!DOCTYPE html><html lang="en" xmlns:th="http://www.thymeleaf.org"><head>
타임리프 표현식
th:[속성]=”${출력 값 또는 조건식}”
ex ) <p th:text ="${loginMsg}">로그인되었습니다</p>
728x90
'SPRINGBOOT' 카테고리의 다른 글
Spring Boot Validation 적용하는 법(2.3.version 이상일 때) (0) | 2023.05.31 |
---|---|
spring boot - dao, dto, service, mapper 개념 (0) | 2023.05.07 |
springboot - model 생성, controller 연결하기 (0) | 2023.04.01 |
springboot controller만들기(1) - Getmapping, Requestparam (0) | 2023.03.26 |
spring boot : gradle 프로젝트 환경설정 (0) | 2022.12.19 |