Why not use a hashmap of arraylists (or, if you're stuck in 1.1-land, a
hashtable of vectors) instead?
>From: Jake Levesque <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
>reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Vector arrays on a jsp page?
>Date: Mon, 11 Jun 2001 16:20:08 -0300
>
>Hello!
>
>I am in dire need of some help here. I hope this isn't too basic a question
>but here it goes. I have a set of vector arrays. They are named something
>like arr1, arr2, arr3, arr4, etc. What I want to be able to do is loop
>through these lists based on the number in the array's name. I want to be
>able to reference the list by taking the "arr" part and attaching a number
>to it to create the name "arr1, arr2, etc." Then processing the jsp. I can
>output the line that I want with "out.println" in Html, but I can't get it
>to process the line as jsp.
>
>ie: arr + "1" + .addElement( new Integer (35) );
> arr + "2" + .addElement( new Integer (99) );
>
>Even if someone knows a better way, than this, to specifically reference a
>list in a group of lists, I would be very appreciative.
>
>thanks in advance,
>
>Jake Levesque - A+
>Web/Database Developer
>www.trakonic.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 your FREE download of MSN Explorer at 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