Spring Boot Thymeleaf Could not parse as expression with an url -


i'm putting button on page 1 navigate page 2. page 1 , 2 on different controllers.

this code of button. pid id of project. p.id gives id of project. don't know problem here is.

            <td><a th:href="@{/projects/project/{pid}/clusters(pid=${p.id})" class="btn btn-info" role="button">clusters</a> </td>      org.thymeleaf.exceptions.templateprocessingexception: not parse expression: "@{/projects/project/{pid}/clusters(pid=${p.id})" (projects:53) 

you've missed 1 curly bracket @ end of expression

<a th:href="@{/projects/project/{pid}/clusters(pid=${p.id})}" class="btn btn-info" role="button">clusters</a> 

Comments

Popular posts from this blog

minify - Minimizing css files -

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -