From: "Christian Sell" <[EMAIL PROTECTED]>
> > - is interpreted by the expression language as numerical subtraction.
> >
> > e.g.
> >
> > ${foo- 12}
>
> does that mean that variable names have to follow naming rules similar
> to Java? (If so, the set tag should enforce them like the Java compiler
> does)

Variables don't have to be. e.g. if you want to access some illegally named
variable you could do

${context.getVariable('some-bad-name*of/a.variable'}

Though I think testing variable names (or at the very least warning users)
in tags like <j:set var=.../> seems like a good idea to me.

James
-------
http://radio.weblogs.com/0112098/

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to