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"
 


Reply via email to