I am putting one arraylist and one javabean object with request.setAttribute......
I can access this in JSP. But how i can detect that Arraylist and/or Bean is empty ?
With JSTL, assuming you have done request.setAttribute( "myList", list );
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <c:if test="${empty myList}"> it's empty! </c:if>
I'm not sure what it means for a bean to be empty though. Maybe you would check to see if a particular property is null?
-- Wendy Smoak
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]