In messages.properties
:
error.code=This is error message.
This is next line of error message.
Now, when I set "errors.rejectValue
" with this "error.code
" for a form field, I cannot get the line break of
to display on the jsp page when displaying the error message using the form:errors
element.
Instead of
, using <br/>
also does not work and gets displayed as is on the page.