tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: concatenate strings
Date Tue, 26 Aug 2003 16:38:46 GMT

Just do:

<c:setl var="varSum" value="${variable1}${variable2}" /> ??


Think that would work.

Hen

On 26 Aug 2003, James Norman wrote:

> Hi All,
> I have two variables that I set using the c:set tags.
>
> <c:set var="variable1" value="someValue" />
> <c:set var="variable2" value="1" />
>
> And I want to concatenate the two and store the value in another var.
> <c:setl var="varSum" value="${variable1 + variable2}" />
>
> But this blows up with an error message.  Any ideas?
>
> Thanks,
> James Norman
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
>


Mime
View raw message