Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 74816 invoked from network); 29 Nov 2001 15:16:53 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Nov 2001 15:16:53 -0000 Received: (qmail 27547 invoked by uid 97); 29 Nov 2001 15:16:40 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 27531 invoked by uid 97); 29 Nov 2001 15:16:39 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 27520 invoked from network); 29 Nov 2001 15:16:39 -0000 Message-ID: <47DE65E6F855D511950200306E02F8551D89A9@atlexs05.SouthernEnergy.Com> From: "Siggelkow, Bill" To: "'Struts Users Mailing List'" Subject: RE: check for null collection Date: Thu, 29 Nov 2001 10:16:24 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: text/plain; charset="iso-8859-1" X-FREE-OF-KNOWN-WORMS: Scanned by Mirant.Com for known email worms X-Filtered-By: [Mirant] Powered by PerlMx v1.1, free for personal or educational use; visit http://www.ActiveState.com/Products/PerlMx/info for more info X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The way I do it is to create a variable using the bean:size tag that represents the size of the collection ... Then I check if that value is 0 as follows ... (in addition you might want to also check if the collection is present as you are doing)

No reports available.

-----Original Message----- From: Thinh Doan [mailto:tdoan@twjconsulting.com] Sent: Wednesday, November 28, 2001 2:53 PM To: Struts-User Subject: check for null collection I've defined the following collection but don't know how to use the logic tag to check if it contains no data to display appropriate message: ... No members Thanks in advance, Thinh -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: