How to put "new line" in JSP's Epression Language?

Posted by Roman Kagan on Stack Overflow See other posts from Stack Overflow or by Roman Kagan
Published on 2009-12-15T15:52:27Z Indexed on 2010/05/17 0:30 UTC
Read the original article Hit count: 600

Filed under:
|
|
|

What would be right EL expression in JSP to have a new line or HTML's <br/>? Here's my code that doesn't work and render with '\n' in text.

<af:outputText value="#{msg.TCW_SELECT_PART_ANALYSIS}\n#{msg.TCW_SELECT_PART_ANALYSIS2}"/>

© Stack Overflow or respective owner

Related posts about jsp

Related posts about el