Can you just escape it in your .properties file
or whereever the message is defined?  I think that
would be best practice unless you need to only escape it
some of the time.
- Dan

> -----Original Message-----
> From: Edgar Poce [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, December 18, 2004 2:42 PM
> To: [EMAIL PROTECTED]
> Subject: bean:message and escaping
> 
> Hi
>   is there any way to escape html with bean:message?. The only way I 
> find to achieve this is:
> 1 - set a pageContext var with the bean:message value.
> 2 - use bean:write, wich escapes html.
> 
> I'd like to do this with a single tag. Something like
> <bean:message key="mykey" filter="true" />
> 
> If it's not possible wich is the best practice?
> 
> Thanks in advance.
> Edgar


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

Reply via email to