I don't know how to enter my values into a 2 dimensional array using for loops then getting it the values for 1 column into a string[] type.
I got as far as setting up 2 arrays
but I want to enter a String name in the first column and a string value in the second column. Then using JSP code do something like :
to get at the inputs fora drop list.
Main problem put the code into a 2 dim array, then getting it out on either column.
I have read the api for array, vector, enumeration and string but still don't know how to code it or why my code doesn't stand up. Please help.
I got as far as setting up 2 arrays
Code:
String[][] stringList2 = new String[list2.size()][list2.size()];
Code:
String[] years = filemanager.getList("Years.List");
Main problem put the code into a 2 dim array, then getting it out on either column.
I have read the api for array, vector, enumeration and string but still don't know how to code it or why my code doesn't stand up. Please help.