Thymeleaf: <label> to have dynamic text concatenated with static text Spring MVC
Another straightforward solution is
<label th:text="${'Hello ' + worldText}"></label>
An easy solution would be to insert a span to the label:
<label>Hello <span th:text="${worldText}"></span></label>
But i would prefer to combine text and variables like this:
<label th:text="'Hello' + ${worldText}"></label>