In messages.properties:
error.code=This is error message.\nThis 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 '\n' to display on the jsp page when displaying the error message using the form:errors element.
Instead of '\n', using <br/> also does not work and gets displayed as is on the page.