You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by peibel80 <pe...@hotmail.com> on 2009/11/02 14:22:16 UTC
Tags html into tags JSP
Hi,
I have a variable with tags html.
String oldDate = "Cod=23<br>Des=Area 22"
and I use this tag jsp:
<c:out value="${oldDate }"/>
but does not paint the line break, it paint <br>
What could I use to paint the line break??
Thanks,
--
View this message in context: http://old.nabble.com/Tags-html-into-tags-JSP-tp26156899p26156899.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Tags html into tags JSP
Posted by peibel80 <pe...@hotmail.com>.
thanks Liang
It was this.
Liang ZHOU-2 wrote:
>
> hi:
>
> you can try this attribute of c:out tag:
> escapeXml="false"
>
> good luck
>
> 2009/11/2 peibel80 <pe...@hotmail.com>:
>>
>> Hi,
>>
>> I have a variable with tags html.
>>
>> String oldDate = "Cod=23<br>Des=Area 22"
>>
>> and I use this tag jsp:
>>
>> <c:out value="${oldDate }"/>
>>
>> but does not paint the line break, it paint <br>
>>
>> What could I use to paint the line break??
>>
>> Thanks,
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Tags-html-into-tags-JSP-tp26156899p26156899.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
--
View this message in context: http://old.nabble.com/Tags-html-into-tags-JSP-tp26156899p26192637.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Tags html into tags JSP
Posted by 周亮 <zh...@gmail.com>.
hi:
you can try this attribute of c:out tag:
escapeXml="false"
good luck
2009/11/2 peibel80 <pe...@hotmail.com>:
>
> Hi,
>
> I have a variable with tags html.
>
> String oldDate = "Cod=23<br>Des=Area 22"
>
> and I use this tag jsp:
>
> <c:out value="${oldDate }"/>
>
> but does not paint the line break, it paint <br>
>
> What could I use to paint the line break??
>
> Thanks,
>
> --
> View this message in context: http://old.nabble.com/Tags-html-into-tags-JSP-tp26156899p26156899.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org