On Thu, 13 Feb 2003, Leon Doud wrote: > Well that would be fine if it was possible to call the isEmpty() > method on a collection. But since empty is a key word the parser has > a problem with "collection.empty".
You could use ${collection["empty"]}. > Why not implement the empty keyword on all collections? The method > isEmpty is available in the Collection interface. Was there some sort > of argument against that when the spec was defined? I believe so; I don't remember the details of the debate, but I think the justification is that the EL doesn't deal with Collections in general in any other situation. -- Shawn Bayern "JSTL in Action" http://www.manning.com/bayern --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]