인프런 커뮤니티 질문&답변
타임리프 HTML 관련 질문
작성
·
344
0
안녕하세요 영한님.
강의 너무 잘 듣고 있는데 질문이 하나 있습니다.
타임리프를 사용하면 기존 정적인 HTML을 렌더링하여 보여주는데 그럼에도 기존의 정적인 HTML의 내용을 남겨두어야 하는 이유가 있을까요? 강의에서는 지우지 않고 남겨두시길래 특별한 이유가 있나 하여 질문 드립니다!
<td><a href="item.html" th:href="@{/basic/items/{itemId}(itemId=${item.id}}" th:text="${item.id}">회원id</a></td>
위 코드에서 회원id를 남겨두어야 하는 이유가 있는 건가요?
퀴즈
When creating dynamic web pages with Spring MVC, what are the key dependency combinations needed for basic web features and HTML template processing? The key dependencies typically include: * `spring-boot-starter-web` (for core web capabilities) * A template engine starter like `spring-boot-starter-thymeleaf` (for HTML templating)
Web, H2
Web, Thymeleaf
JPA, Lombok
Test, Web




