Thymeleaf如何拼接href \src

src示例:

<img th:src="@{/img/research/{filename}(filename=${research.filename})}">

href示例:

<a th:href="@{'https://'+${url.url}}" th:text="${url.urlName}"></a>

猜你喜欢

转载自blog.csdn.net/LeonShenZhi/article/details/81231604