P粉7627302052023-08-15 12:45:13
The Param object returns an array of strings for each parameter, even if the parameter has only one value, which is why you see the object reference [Ljava.lang.String;@767a8ed5
. You can access the first element of the array using indexing like this:
<p th:text="${param.message[0]}"></p>