如果我们想对a标签里的href属性进行拼接,
拼接成下面这样:
http://localhost:8887/profile/questions?page=2
我想questions拼接到里面,由于它不总是questions,所以可以像下面这样拼接
<a th:href="@{'/profile/'+${section}(page=${pagination.totalPage})}" aria-label="Previous">
<span aria-hidden="true">>></span>
</a>