如何从html <a>? SPRING

时间:2018-06-06 09:58:50

标签: html spring

I have a method that returns an url and I want to call component's method inside href, but this returns me an error, I think it is because I call method in a wrong way

<a title="español" class="es-flag"  th:href="${(new HttpHelper.setParameter.arg('lang','es')).build()}">Español</a> 

0 个答案:

没有答案