How to test if a collection is empty or not
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, April 3, 2002 11:09 PM

How to test if a collection that will be used for a selection list has elements or not



On my code I have done:
session.setAttribute(Constants.AIRPORTS, null);

On the JSP I test
logic:notPresent name="AIRPORTS">

ERROR: Airport table not loaded -- It may be caused due to Database Server down







labelProperty="label"/>

But Struts finds AIRPORTS is present

Re: How to test if a collection is empty or not

Posted By:   Anonymous  
Posted On:   Wednesday, April 3, 2002 11:20 PM

Sorry, I just shutdown and restarted Struts and it worked!
About | Sitemap | Contact