spring - thymeleaf generate REST url with dynamic parameters/elements -


i create rest url thymeleaf. i've this:

<a th:href="@{customer/(${c.id})/edit}">edit</a> 

the output is: http://localhost:8080/app/customer/($%7bs.id%7d)/edit

but get: http://localhost:8080/app/customer/4/edit

how can achive this? please help.

what need called preprocessing, follow link!

in case, should this:

<a th:href="@{customer/__${c.id}__/edit}">edit</a> 

Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -