Display formatted HTML text
by Frank Kim on Aug.12, 2008, under JSTL, Page Development
In DSP to display formatted HTML text you use the valueishtml converter attribute. For example:
<dspel:valueof param="displayName" valueishtml="true"/>
For example “foo & bar” becomes “foo & bar”.
In JSTL to do this you tell JSTL not to escape the XML. For example:
<c:out value="${displayName}" escapeXml="false" />
Related posts: