title: c:when not null/empty check
body: <p>I have a forma variable ftDtClo defined in form like,</p>
  
  <pre><code>public String getFtDtClo () {
    String dateStr = "";
      if(this.getCse().getDtClo()!=null) {
          dStr = DtUtil.formatDate(this.getCse().getgetDtClo(), DtUtil.FORMAT_MM_DD_YYYY_KK_MM_SS);
      }
     return dateStr;            
  }
  </code></pre>
  
  <p>In JSP the code looks like,</p>
  
  <pre><code>&lt;c:choose&gt;
          &lt;c:when test="${not empty cseList.ftDtClo}"&gt;
          &lt;c:out value="${cseList.ftDtClo}"/&gt;
          &lt;/c:when&gt;
          &lt;/c:choose&gt;
  </code></pre>
  
  <p>But i get the foll exception,</p>
  
  <pre><code>wrapped exception:
  javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "test" with value "${not empty cseList.ftDtClo}": An error occurred while getting property "ftDtClo" from an instance of class abc.cseDetailLists (java.lang.NullPointerException)
      at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:306)
      at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:161)
  </code></pre>
  
  <p>Im assuming not empty will take care of null check. Am i missing something? any i/p is highly appreciated.</p>