Link to home
Start Free TrialLog in
Avatar of willa666
willa666Flag for United States of America

asked on

putList Empty

If i have a tiles definition in a struts based application and i want to tets it to see if the list is empty how can this be done?

I assume an IF statemnet is the easyest way to do this test.

<c:if test="**somthing** != ' ' ">

the putList name is contentCenterList
ASKER CERTIFIED SOLUTION
Avatar of bloodredsun
bloodredsun
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of willa666

ASKER

hey BRS

i was going to settle for this:
      <c:when test="${myList != null} -- ${myList != null}">

But the empty keyword works for me! :)