Thanks Mark. You are right. I don't want to concat, I want to add. Someone knows how to do it without scriptles?
Greetings. Pedro. Mark Shead wrote: > It appears you are treating foo as a string. The + sign is concatenating 1 > with 1 which gives you a result of a String containing the characters 1 and > 1. > > Mark > > -----Original Message----- > From: Pedro Diaz [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 28, 2002 10:19 AM > To: [EMAIL PROTECTED] > Subject: Standard expression language question > > Hi all. > > After executing the next two lines > > <c:set var="foo">1</c:set> > <c:set var="foo" value="$foo + 1"/> > > the value of foo is "11" > > Is there a way to get that the value of foo be 2 using expression > language? > > Thanks in advance. > Pedro. > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>