【发布时间】:2014-12-05 20:26:37
【问题描述】:
我想用 thymeleaf 创建 REST url。我有这样的事情:
<a th:href="@{customer/(${c.id})/edit}">Edit</a>
输出是:
http://localhost:8080/app/customer/($%7Bs.id%7D)/edit
但我想得到:http://localhost:8080/app/customer/4/edit
我怎样才能做到这一点?请帮忙。
【问题讨论】: