All -

 

I want to do something like this:

 

<j:set var="foo" value="${bar.something.${othervar}.maven.rocks}"/>

 

unfortunately, maven is kindly telling me this is not possible (via
multiple stack traces).  I searched around and found this:

 

<j:set var="foo"
value="${context.getVariable('bar.something.'+othervar+'.maven.rocks')}"
/>

 

However, now I get multiple NumberFormatExceptions (maybe something to
do with the plus sign?)

 

Can anyone tell me how to nest an expression in another one?  Thanks!

 

-marc

 

Reply via email to