[solved] id pass in href in thymeleaf

Solution:

The right way according to Thymeleaf documention for adding parameters is:

<a th:href=”@{/category/edit/{id}(id=${category.idCategory})}”>view</a>

Hope it helps

Leave a Reply