tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anand" <>
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

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

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


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message