Use a Bean:write with filter=false tag.  Why did you
write "on" and "off"? Are you giving those as your
flags to the "filter" attribute?

Docs for "bean:write" read:
filter - If this attribute is set to true, the rendered property value will
be filtered for characters that are sensitive in HTML, and any such
characters will be replaced by their entity equivalents.
http://struts.apache.org/userGuide/struts-bean.html#write

Regards,
David

-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] Behalf Of teknokrat
Sent: Wednesday, August 18, 2004 11:06 AM
To: [EMAIL PROTECTED]
Subject: how to print out html with bean tag


I need to print out strings without having the html escaped i.e. i have
<br> embedded in some message and I want the browser to reat them as
line breaks, instead i always get them displayed whether i have filter
set to on or off in <bean:write ...

thanks


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


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

Reply via email to