commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Jonker <>
Subject Re: [Jelly] double dereference of a property?
Date Tue, 14 Jan 2003 15:07:13 GMT
Should the use of varName in the second line be quoted? I've always had to
do that.  (Assuming that varName is to be interpreted as a String literal.)

Is there a reference to the JEXL expression language?  It's a frequent
stumbling block for me as I learn Jelly.

On 1/14/03 2:58 AM, wrote:
> One way is to use the property name variable to lookup the variable. e.g.
> <j:set var="varName" value=""/>
> <j:set var="filename" value="${context.getVariable(varName)}"/>


To the mind that is still, the whole universe surrenders.
  -- Lao-Tzu, philosopher (6th century BCE)

View raw message