--- Chris Pratt <[EMAIL PROTECTED]> wrote:
> Notice that the last statement (using the OGNL == operator) doesn't
> return anything at all, which makes it useless in a <s:if> test.

OGNL actually checks for isAssignableFrom; if either class isAssignableFrom
the other it checks for Comparable and calls compareTo, which is most likely
what's happening in your case. Only if neither class isAssignableFrom will it
call the instance's equals method.

Dave



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

Reply via email to