struts-user  

RE: How to display a bean property with html markup?

Slattery, Tim - BLS
Thu, 25 Mar 2004 12:40:37 -0800

> Anybody knows how to display a bean property with html
> markup properly in the output. I have the JSP snippet
> code as follows:
>  
> <HTML>
> 
> abcdefg <bean:write name="info" property="infoName" />

<bean:write name="info" property="infoName" filter="false"/>

"filter=false" tells the tag not to replace things like "<" with "&lt;".
That's what you want to hppen in this case.


--
Tim Slattery
[EMAIL PROTECTED]


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