You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Woodchuck <wo...@yahoo.com> on 2004/08/04 17:36:38 UTC
escaping html in property files?
when i put html in my property files it gets translated after
<html:messages> processes it (ie. the html comes out literally).
this is what i'm getting:
Hello<br>World!
but i want:
Hello
World!
is there a way to enable use of html code in property files?
thanks in advance!
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: escaping html in property files?
Posted by Kishore Senji <ks...@gmail.com>.
<html:messages id="error" message="true">
<bean:write name="error" filter="false"> <!-- set filter = false to
unescape html entities -->
</html:messages>
On Wed, 4 Aug 2004 08:36:38 -0700 (PDT), Woodchuck
<wo...@yahoo.com> wrote:
> when i put html in my property files it gets translated after
> <html:messages> processes it (ie. the html comes out literally).
>
> this is what i'm getting:
> Hello<br>World!
>
> but i want:
> Hello
> World!
>
> is there a way to enable use of html code in property files?
>
> thanks in advance!
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org