Thymeleaf語法詳解

  本文主要介紹下Thymeleaf的基本使用的語法。 Thymeleaf語法詳解 1.變量輸出與字符串操作 1.1 基本用法 表達式 說明 th:text 在頁面中輸出值 th:value 可以將一個值放入到 input 標籤的 value 中 <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:t
相關文章
相關標籤/搜索