tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anand" <an...@columbus.rr.com>
Subject Testing SQL Query results
Date Fri, 02 Aug 2002 10:53:04 GMT
I am trying to check the database column INT_COLUMN value
  Using '<c:if' tag.

 It always returns false no matter what the value of ${row.INT_COLUMN}
 I tried to test as Integer and Character still the same result.

But the '<c:out' outside the if tag statements  seem to print the value
ok.


<c:forEach var="row" items="${someTable.rows}">
    <c:if test="${row.INT_COLUMN == 1}">
       <c:out value="${row.INT_COLUMN}"/>
    </c:if>

     <c:if test="${row.INT_COLUMN =='1'}">
       <c:out value="${row.INT_COLUMN}"/>
    </c:if>
             
      <c:out value="${row.INT_COLUMN}"/>

  </c:forEach>



--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message