Hi Sufi,

U can not write jsp tag library in java. That is why it is giving error. The
line should be like
<%  if ( %><sql:getColumn position="6"/><% == "yes") { %>

Jagadeesh

-----Original Message-----
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 12:59 AM
To: [EMAIL PROTECTED]
Subject: syntax error ?????


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

===========================================================================
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