Do your best

  • 방명록

thymeleafmap 1

타임리프(thymeleaf) map 데이터 출력

map 데이터를 출력하여 보자. 컨트롤러에서 데이터를 보낸다. @GetMapping("/th-map") public String thMap(Model model) { Map score = new HashMap(); score.put("userA", 100); score.put("userB", 90); score.put("userC", 50); model.addAttribute("score", score); return "view/th-map"; } th map userA th:text="${score['userA']}" 이렇게 특정값을 바로 받을 수 있고, th:each 를 통해 반복할 수도 있다. 결과 화면

프로그래밍/thymeleaf 2021.09.15
1
더보기
프로필사진

Do your best github.com/seongjindev

방문자수Total

  • Today :
  • Yesterday :
  • 분류 전체보기 (88)
    • 프로그래밍 (86)
      • Python (2)
      • JAVA (24)
      • Spring (4)
      • HTML (4)
      • HTTP (10)
      • REST API (1)
      • Algorithm (9)
      • 자료구조 (1)
      • DB (7)
      • Mysql (2)
      • Git (11)
      • thymeleaf (6)
      • TDD (4)
      • 코딩 테스트 (1)
    • 컴퓨터 (1)
    • 낙서장 (1)

Tag

Thymeleaf, dynamicprogramming, sourcetree, httpheaders, utext, SpringBoot, StringToChar, spring, selectionSort, 트랜잭션, Java, 쓰레드상태, HTTP, html, CharToString, 15829, 쓰레드과정, thymeleafmap, TDD, HTTP상태코드,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

Copyright © Kakao Corp. All rights reserved.

티스토리툴바