How to iterate a Array and build a url ?
I have a Array like below ticketList and need a ResultList as below with a hyperlink attached
ticketList = [JR8908,JR7676,JR7687,JR8798]
I want the result ResultList : [ JR8908,JR7676,JR7687,JR8798]
Hyperlink would be - http://localhost:8080/browse/ticketID
<ul th:each="ticket: ${ticketList}">
<li th:href="http://localhost:8080/browse/${ticket}" th:text="${ticket}"></li>
</ul>