I am working on a spring boot application and trying to convert jsp to thymeleaf. I am stuck converting the following jsp code to thymeleaf: I do not know how to convert the <c:import> part.
<c:forEach items="${requestScope.users}" var="user" varStatus="status">
<div <c:if test="${!status.last}"></c:if>>
<c:import url="/user/checkUser">
<c:param name="username" value="${user.username}" />
<c:param name="firstName" value="${user.firstName}" />
<c:param name="lastName" value="${user.lastName}" />
</c:import>
</div>
</c:forEach>