Hi,
I'm new to the forum. Tried the Search but my problem is not jet described here.
I'm using Spring Web MVC and use
to read language-specific content from messages_[country_code].properties. So far, everything works fine. Now I'd like to define a property with a multiline value. Something likeCode:<fmt:message key="my.multiline.property" />
But in the JSP no line break is displayed.Code:my.multiline.property = line1 <linebreak here> line2
Here's what I've tried:
Code:my.multiline.property = line1\nline2Code:my.multiline.property = line1\r\nline2Code:my.multiline.property = line1\r\n\ line2Code:my.multiline.property = line1\u0085line2and evenCode:my.multiline.property = line1\u000A\u000Dline2
The output in my JSP is all the same:Code:my.multiline.property = line1<br />line2
line1 line2
Any suggestions?
Thanks!
Richard


Reply With Quote
