commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guo, Jiaqi" <cyclopsgr...@gmail.com>
Subject Re: [jelly] How to escape character '&'
Date Thu, 11 Aug 2005 22:48:28 GMT
Thanks for reply.

This doesn't seem to work. &amp; is interpreted into &amp;amp; when I 
set the value to the variable no matter the escapeText attribute is true 
or false. Wrapping with CDATA doesn't help either.


Regards

Jiaqi
jiaqi.guo@gmail.com
http://www.cyclopsgroup.com


Paul Libbrecht wrote:

> If you want exactly this sequence of characters you need exactly this 
> one: aaa&amp;bbb&amp;ccc
>
> hope that helps.
>
> paul
>
>
> Le 11 août 05, à 23:33, Guo, Jiaqi a écrit :
>
>> I couldn't find the answer from the website. What I want to do is 
>> very simple.
>> ...
>> <j:set var="someVariable">aaa&bbb&ccc</j:set>
>> or
>> <j:set var="someVariable" value="aaa&bbb&ccc"/>
>>
>> Thanks in advance.
>>
>>
>>
>>
>> Regards
>>
>> Jiaqi
>>
>> jiaqi.guo@gmail.com
>> http://www.cyclopsgroup.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message