Either you JDK  or Database driver doesnot support JDBC2 API .

        -----Original Message-----
        From:   Nishit Trivedi [SMTP:[EMAIL PROTECTED]]
        Sent:   Friday, March 02, 2001 1:50 PM
        To:     [EMAIL PROTECTED]
        Subject:        [JSP-INTEREST] OT:rs.first()

        sorry for OT...

        i have this:
        ----------------------------------------------------------------
            ResultSet rs = prStmt.executeQuery();
            int rowCount = 0;
            while(rs.next()){
              rowCount++;
            }
            out.println("the rs type is :"+rs.getType());
            out.println("the rs behavior is :"+rs.TYPE_FORWARD_ONLY);
            rs.first();
            while(rs.next()){
               //store some values in array...
            }
        ----------------------------------------------------------------

        but when i say rs.first(), and when i view the result in browser(
IE5.0 ),
        it says :
        "The exception dbe is:Unsupported feature "
        The same error is displayed for :
            out.println("the rs type is :"+rs.getType());

        but if i comment it out, there is no display...and i have to use
        rs.first()...
        can any body help me...??

        Nishit Trivedi
        Software Engineer
        Planet Access Networks - An InSage Company
        973-691-4704 X157


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