Have you tried setting the filter attribute of <bean:write> to false?

Sri

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 2:23 PM
To: [EMAIL PROTECTED]
Subject: bean:write and embedded html tag


My ActionForm is
 
public class MyActionForm extends ActionForm
{
    private String myMessage ;
 
    public String getMyMessage()
    {
        return myMessage ;
    }
}
 
Now that I set myMessage to "line_1<br>line_2" so as to display it on the page as
 
line_1
line_2
 
If I use <bean:write name="myActionForm" property=""myMessage/> in jsp, I would get 
line_1<br>line_2 on the page.
 
Without using struts-EL and scriptlet, is there any solution printing out
 
line_1
line_2
 
 
Regards,
 
 
 
PQ
 
"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"
 

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

Reply via email to