Chances are you haven't executed rs.next() before you're accessing the
data. That's the best I can think of without seeing what any of these
errors might be.
On Fri, 29 Sep 2000, Modassir Sattar wrote:
> Hi,
>
> I am trying to execute a query in a JSP page, but I am getting a page full
> of errors.
> The code is working fine upto the executeQuery("select * from sss")
> statement, but when I tried to disply the recordset using
> rs.getString("Name") these errors are displayed.
>
> I am using IBM's WebSphere server and DB2 Database, and I used jdbc.odbc
> bridge to access the database.
>
> Does any body know what I am doing wrong.
>
> Your help is appreciated.
>
> Thanks.
>
>
> Modassir
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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
>
-----------------------------------------------------------
Joseph B. Ottinger [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo HOMES.COM Developer
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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