JSTL and empty
I am not the first to notice this, but, what were they on when they wrote this spec? For future reference, when using JSTL 1.0 and wishing to check for emptiness of a collection, don't use
test="${empty foo}", use
test="${foo['empty']}". Of course the second form only works for Collections, the first form must still be used for arrays and Strings. The joys of design-by-committee...
<< Home