You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by john lee <sh...@yahoo.com> on 2013/07/11 05:15:51 UTC

struts s:property




in my application, the following <br> newline charactor never happen.


<s:property value="Out of Stock <BR>Avg:2-5 days"/>  


how to let above <BR> take effect?

thanks

john

Re: struts s:property

Posted by john lee <sh...@yahoo.com>.

thanks, it works

the format is 

<s:property value="Out of Stock <BR>Avg:2-5 days" escape="false"/>



________________________________
 From: Dave Newton <da...@gmail.com>
To: Struts Users Mailing List <us...@struts.apache.org> 
Sent: Wednesday, July 10, 2013 10:17 PM
Subject: Re: struts s:property <br>
 

Escape it. Check out the tag Docs.
On Jul 10, 2013 11:16 PM, "john lee" <sh...@yahoo.com> wrote:

>
>
>
>
> in my application, the following <br> newline charactor never happen.
>
>
> <s:property value="Out of Stock <BR>Avg:2-5 days"/>
>
>
> how to let above <BR> take effect?
>
> thanks
>
> john

Re: struts s:property

Posted by Dave Newton <da...@gmail.com>.
Escape it. Check out the tag Docs.
On Jul 10, 2013 11:16 PM, "john lee" <sh...@yahoo.com> wrote:

>
>
>
>
> in my application, the following <br> newline charactor never happen.
>
>
> <s:property value="Out of Stock <BR>Avg:2-5 days"/>
>
>
> how to let above <BR> take effect?
>
> thanks
>
> john