You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Kris Schneider <kr...@dotech.com> on 2004/03/01 18:49:04 UTC
Re: escaping html content in properties file?? is there a tag that ca n do this?
There's probably a few ways to do this:
<c:set var="msg"><bean:message key="my.message"/></c:set>
<c:out value="${msg}" escapeXml="false"/>
Quoting "Menke, John" <Jo...@acs-inc.com>:
> i am using the messages tag in a struts application and it doesn't let me
> include html that is parsed correctly when displayed
>
> ie.
>
> my.message=this part normal <b> this part bold </b> this part normal
>
> displays with tags intact
>
> is there any tag i can use that will escape the html similar to way core:out
> does???
--
Kris Schneider <ma...@dotech.com>
D.O.Tech <http://www.dotech.com/>
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org