Hi,
   
   I want to check for emptiness with JSTL.

   I declare a variable like this

  <c:set var="tablecontent" scope="session" value=""/>


   Then it is set like this

        <c:set var="tablecontent" scope="session" value="${buffer}"/>


  The check would be

          <c:if test="${empty tablecontent}">
                <%=0%>
          </c:if>
          <c:if test="${!empty tablecontent}">
                <%=1%>
          </c:if>


Now it prints both values.

What is wrong here?

Mohan



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to