Antonio Petrelli on 05/11/07 08:14, wrote:
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
Antonio Petrelli on 04/11/07 16:17, wrote:
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 NumberFormatExcep
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 an
2007/11/4, Adam Hardy <[EMAIL PROTECTED]>:
>
> Antonio Petrelli on 04/11/07 16:17, wrote:
> > 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
> b
Antonio Petrelli on 04/11/07 16:17, wrote:
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.
Yo
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
This is slightly off-topic but I hope not too much, and there is a reference to
struts here because I used to do this with struts1 taglibs!
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
6 matches
Mail list logo