This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
you can either write a custom tag, or you can use the logic:equal tag against the collection. If your collection is a List, you can use <logic:equal name="myBean" property="myProperty" value=""> No rows returned. </logic:equal>
"Write beautiful code; then profile that beautiful code and make little bits of it uglier but faster." --The JavaPerformanceTuning.com team, Newsletter 039.
Take a look at the logic:empty, logic:present, and the bean:size tags. You can use those depending on which version of struts you are using and if your list is null or just empty. Good luck. [ February 24, 2003: Message edited by: Thomas Paul ]