You can access the individual fields in the resultset by calling resultset's
get mthods eg. getString( ). getString method is overloaded and takes column
name(String) as well as column index(int). There are other methods as well
for some data types.

Hope this helps
-khaitan


----- Original Message -----
From: Shrikumar R <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 1999 2:17 AM
Subject: displaying the contents of a rs


> Thanks all for the help with  my previous question. I
> managed to instantiate my bean, I mean the java bean.
> Here is another one. I successfully retrieve the data
> from my database in to the record set in my java bean.
> Now I am trying to display these data in a html format
> in my jsp page but am not able to do so properly. Can
> somebody please tell me how to refer to a specific
> field in this recordset. for example if I do a select
> * from... but I want to display only some fields from
> the result set. Also can somebody tell me where I can
> find some docs on this database manipulation.
>
> Thanks in advance
>
> Shri
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to