title: JSTL / EL equivalent of testing for null and list size?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2811626/evaluate-empty-or-null-jstl-c-tags">Evaluate empty or null JSTL c tags</a>  </p>
  </blockquote>
  
  
  
  <p>I'm refactoring scriptlets to JSTL and EL and I would like to know how to write the following in JSTL / EL:</p>
  
  <pre><code>if(sokandeList != null &amp;&amp; sokandeList.size() &gt; 0) { %&gt;
  ...
  </code></pre>
  
  <p>I don't know how to test for null and AFAIK EL can only access getters in this context so I must add a method getSize() to the sokandeList class. Correct? What should the JSTL / EL expression look like? Thanks for any help</p>