I am using the jdbc taglib, it's working fine, but I have a syntax error in
this line :
<%  if (<sql:getColumn position="6"/> == "yes" { %>
Could you please show me why the above line is wrong ??

this is a peace of code :
<sql:resultSet id="rset1">
   <pg:item>
    <tr bgcolor="#eeeeff">
      <td> <sql:getColumn position="1"/></td>
      <td><sql:getColumn position="2"/></td>
          <td><sql:getColumn position="3"/></td>
          <td><sql:getColumn position="4"/></td>
          <td><sql:getColumn position="5"/></td>
          <%  if (<sql:getColumn position="6"/> == "yes" { %>
          <td><IMG SRC= ./images/form.gif></td>
          <% } else %>
          <td><IMG SRC= ./images/fax.gif></td>
    </tr>
        </pg:item>
  </sql:resultSet>

Thanks lot
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to