I have used it, but it did not work, I think that for the jdbc taglib the
syntax <sql:getColumn position="6"/> is only for output (maybe I am wrong),
because I was looking for the documentation of the jdbc taglib, there is
nothing that allows you to get a returned field and use it for test or other
operations.

Please who has encountred this kind of situation let me know, thanks lot.


>From: Nishit Trivedi <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: syntax error ?????
>Date: Mon, 16 Apr 2001 15:51:22 -0400
>
>use equals() or equalsIgnoreCase method for strings (ie. "yes")
>
>Nishit
>
>-----Original Message-----
>From: sufi malak [mailto:[EMAIL PROTECTED]]
>Sent: Monday, April 16, 2001 3:42 PM
>To: [EMAIL PROTECTED]
>Subject: Re: syntax error ?????
>
>
>No, it's not because of the last parenthesis ( I just missed it when typing
>this question).
>the error is :
>org.apache.jasper.JasperException: Unable to compile class for
>JSPC:\tomcat321\work\localhost_8080%2FCareer\_0002fpager_0002djdbc_0002ejspp
>ager_0002djdbc_jsp_9.java:490:
>Missing term.
>                     if ( == "yes") {
>                         ^
>
>
>
> >From: "Middleton, Jorge Luis" <[EMAIL PROTECTED]>
> >Reply-To: A mailing list about Java Server Pages specification and
> >     reference <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: syntax error ?????
> >Date: Mon, 16 Apr 2001 16:34:24 -0300
> >
> >The last parenthesis does'nt appear
> >
> ><%  if (<sql:getColumn position="6"/> == "yes") { %>
> >
> >-----Original Message-----
> >From: sufi malak [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, April 16, 2001 4:29 PM
> >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
>
>_________________________________________________________________
>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

_________________________________________________________________
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