> So, my question simply is what tag can I use, and 
> with what syntax, to check if a collection in a bean 
> is null before starting my logic:iterate tag?  I of course 
> found logic:equal. but it doesn't seem like it would do 
> what I want.  logic:notEmpty or maybe logic:notPresent 
> might be the ticket, but I'm not sure how to set up the tag if 
> one of them is the answer.

The JSTL <c:if...> tag will do it:

<c:if test="${!empty bean.collection}}">
   generate table
</c:if?


--
Tim Slattery
[EMAIL PROTECTED]


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

Reply via email to