Thymeleaf如何拼接href \src
src示例: <img th:src="@{/img/research/{filename}(filename=${research.filename})}">
@{/file/showImageByPath?=path(path=${session.user.userImag})}
href示例: <a th:href="@{'https://'+${url.url}}" th:text="${url.urlName}"></a>
src示例: <img th:src="@{/img/research/{filename}(filename=${research.filename})}">
@{/file/showImageByPath?=path(path=${session.user.userImag})}
href示例: <a th:href="@{'https://'+${url.url}}" th:text="${url.urlName}"></a>