tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Leme <jakartalis...@felipeal.net>
Subject Re: String concatenation
Date Tue, 24 Aug 2004 22:38:30 GMT
BTW, trying to concatenate 2 strings using a + is a common mistake - I
think it would worth some sort of FAQ/note on the specification about
how to correctly do it.

On Mon, 2004-08-23 at 14:58, Keith wrote:

> <c:set var="name" value="${firstname} ${lastname}" />
> 
> There's no JSTL concatenation operator (that I know). Whatever you want the separator
> between them to be, just put it there. In this instance, it's a space.
> 



---------------------------------------------------------------------
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