commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [Jelly/JEXL] String concatenation
Date Mon, 18 Jul 2005 19:58:35 GMT
Have you tried:

<j:set var="classPath"
   value="${classPath}./lib/${dep.artifactId}.jar"/>

which is more compact. Or
<j:set var="classPath"
    
value="${classPath.toString().concat('./lib/ 
').concat(dep.artifactId).concat('.jar')"/>

Remember... java under the hood!

paul

PS: .toString() only needed just to make sure classPath is actually a  
string.


Le 18 juil. 05, à 18:51, Grant Ingersoll a écrit :
> <j:set var="classPath" value="${classPath +  './lib/' +
> dep.artifactId + '.jar'}"/>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message