and one more thing...
when I display rs.TYPE_FORWARD_ONLY, it returns me "1003"
Can somebody tell me what does that mean??..i couldn't find that in jdk1.2.2
api...
thanx
Nishit

>  -----Original Message-----
> From:         Nishit Trivedi
> Sent: Friday, March 02, 2001 4:50 PM
> To:   [EMAIL PROTECTED]
> Subject:      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

Reply via email to