there is a flag on bean:write to indicate whether or not to html-encode the
data being written - the default is to encode it. I believe you want to add
filter="false" to your bean:write in order to disable it -

Good luck -
Margaret

-----Original Message-----
From: Bar�omiej Paw�owski [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 31, 2001 10:05 AM
To: struts mail list
Subject: why bean:write converts < > & etc?


Hi
I have a problem
I put in the vector:
vector.addElement("<b>ble ble</b>");
vector.addElement("<b>ble ble</b>");
request.setAttribute("actList", result);

next in the jsp page:
   <logic:iterate id="doc" name="actList"
type="adwokaci.resources.DocumentAttributes">
       <bean:write name="doc" property="desc"/>
  </logic:iterate>

in page source i revceive
&lt;b&gt;ble ble&lt;/b&gt;
&lt;b&gt;ble ble&lt;/b&gt;

How can I solve it?
Please help!!!
Bartek
Poland

Reply via email to