RE: EL expressions and string concatenation

2007-11-05 Thread Karr, David
Would this work? href="${pc:url('/category/edit.html?category.id=')}${category.id}" > -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Sunday, November 04, 2007 8:07 AM > To: Struts Users Mailing List > Subject: EL expressions and string concatenation > > This is

[OT] Re: EL expressions and string concatenation

2007-11-04 Thread Antonio Petrelli
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>: > I want to concatenate 2 vars into a string in EL but since one is a Long, EL > can't do it, and throws a NumberFormatException because it wants them both to > be > Longs so it can do arithmetic addition instead. You could set a string variable this way