Advertisement
andersonalmada

Untitled

Jul 1st, 2022
861
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.39 KB | None
  1. <h2>Link URL Expression</h2>
  2.     <p>
  3.         <a href="#" th:href="@{/user/1}">Link 1</a>
  4.     </p>
  5.     <!-- /user?id=1&name=Miss Xing -->
  6.     <p>
  7.         <a href="#" th:href="@{/user(id=${person.id}, name=${person.name})}">Query
  8.             String URL</a>
  9.     </p>
  10.     <!--/user/1/name/Miss Xing -->
  11.     <p>
  12.         <a href="#"
  13.             th:href="@{/user/{uid}/name/{uname}(uid=${person.id}, uname=${person.name})}">Path
  14.             Variable URL</a>
  15.     </p>
Advertisement
RAW Paste Data Copied
Advertisement