I have an array
String[] strArray= {"Milk","Bread,"eggs"};
and generally we can display the values as strArray[i] in a loop ... however I am getting the name of the array " StrArray" dynamically from a value of a request parameter &arrayName=strArray .
request.getParameter("arrayName");
Can one of you experts kindly advise how to construct the arrayname from the request and use it to display the values of the array.
Map, with their names as keys. At runtime, retrieve them from the map.