Marcus Wejderot wrote:
> I have tried all kinds of things in @test. What I really want to do
> is to check if the variable ${userid} is empty. How to do this?

I usually write:  test="${empty(userid)}"

empty() is native JX language for testing against most kinds of "empty",
such as (IIRC) 0, false, undefined, null, empty string, empty array...

See: http://commons.apache.org/jexl/reference/syntax.html


Tobia

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

Reply via email to