title: check for empty in jstl if tag
body: <p>My code to iterate list and show the rows</p>
  
  <pre><code>&lt;c:if test="${not empty ftp}"&gt;
      &lt;c:forEach var="event" items="${ftp}"&gt;
                  &lt;tr&gt;&lt;td&gt;&lt;input type="text" name="hostName" id="hostName" value="${event.hostName}"size="30" maxlength="200"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" name="directory" id="directory" value="${event.directory}" size="30" maxlength="200"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" name="userName" id="userName" value="${event.userName}" size="20" maxlength="20"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input type="text" name="password" id="password" value="${event.password}" size="20" maxlength="20" onblur="checkEnableButton();"/&gt;&lt;/td&gt;
                  &lt;td&gt;&lt;input type="button" id="delete" onclick="if(confirm( 'Do you want to delete')) deleteRow(this);" value="-" /&gt;&lt;/td&gt;&lt;/tr&gt;
              &lt;/c:forEach&gt;
  &lt;/c:if&gt;
  </code></pre>
  
  <p>this works good..but, if my list is empty I need to show a blank row..? and what should I do, if I want to delete and add rows dynamicaaly from JSP page..?</p>