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" <[EMAIL PROTECTED]>:

> 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 <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to