I would like to add for small datasets, using arrays would be a fine way to
go, If you dataset is overly large it might be a problem and slow.

I have code in the JSPKit (www.jspinsider.com) which shows you how to build
a report object and stash the data into the report object using Array Lists.
Once the data is in the report object you can manage data any way you
desire.

Currently the sorting is not built into it, but if you are interested we
could  add sorting to the report object.

Casey Kochmer
[EMAIL PROTECTED]


>From: Dan Lopez <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>     reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: JSP/Array/JDBC
>Date: Fri, 8 Dec 2000 07:22:01 -0800
>
>Need Help!
>
>I had been retrieving data from Sybase databse.  This
>was working fine.  I was querying views created from
>external db outside my sybase environment.  I
>displayed the data on JSP page.  The only problem is
>that I cannot sort, since the views that were created
>(which I cannot change, since this is out of my
>control...change management, blah!) do not allow SQL
>functions other than "select * from my_view".  I would
>like to know if it is possible to put the data into
>variables and place them into an array.  Then sort
>using the array.  I have never really used arrays
>before.
>
>So, in short:
>1.  Can this be done?
>2.  HOW is it done?
>
>
>Thanks All
>
>Dan
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Shopping - Thousands of Stores. Millions of Products.
>http://shopping.yahoo.com/
>
>===========================================================================
>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 more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

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