Solution 1 :

The variable template is the part of Thymeleaf Link URLs. You may have as many as you like, just add them to the parameters list, separated by comma. Something like the following …

<form method="get" th_action="@{/validate/{id}/{token}/.html(id=${}, token=${token})}" >

Problem :

I want to create this get URL with Thymeleaf. where token is a model attribute

<form method="get" th_action="@{/validate/{id}/${token}/.html(id=${})}" >

but token is not replaced:

<form method="get" action="/validate/68/${token}/.html" >