does it work with <br/> instead of <br>
because I have things working exactly as you would have with ...
<bean:write name="myForm" property="myProperty" filter="false"/>

filter="false" does the trick for me - only difference is my line breaks are
<br/> instead of <br>

not sure if that changes things for you

----- Original Message ----- 
From: "Otto, Frank" <[EMAIL PROTECTED]>
To: "Struts-User (E-Mail)" <[EMAIL PROTECTED]>
Sent: Wednesday, January 14, 2004 7:30 AM
Subject: bean:write


> Hello,
>
> I want to write a string like "line1<br>line2".
>
> If I use <bean:write name="myForm" property="myProperty"/>, I will get
line1&lt;br&gtline2.
> If I use <bean:write name="myForm" property="myProperty" filter="false"/>,
I will get line1<br>line2.
>
> But I want to write:
>
> line1
> line2
>
> How can I do this with struts?
>
>
> Regards,
>
> Frank
>

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

Reply via email to