Andrew,

I use hashtable most of the time. not really familiar about using Vector but
I believe the concept is the same.

I have a bean that has a scope session. during the first call of the bean,
that would the time you are going to connect to the database and store all
necessary data in a hashtable or vector. after doing that, you would only
need a method that would access your vector or hashtable in your succeeding
pages.

have you been using bean. if you are then that should be an easy task. Try
going to www.jspinsider.com and look for related articles there. if none,
i'll try to email you from office tomorrow. because my codes are there....


Cris


>From: Andrew Bruno <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: RECORDSET TO array OR VECTOR
>Date: Wed, 5 Sep 2001 14:36:09 +1000
>
>Hello,
>
>I was wondering if anyone knows of any docs, or can give some ideas of
>the best way to convert a recordset into an array or vector so that the
>data may be referenced many times, even though the connection is closed.
>
>ON a side note, does anyone have information on storing data into
>javascript arrays, so that there is no need to do a server request. i.e.
>from server side recordset to javascript array, but this is not that
>important yet.
>
>Thanks, Andrew
>
>==========================================================================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/intl.asp

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