Converting List to String?
807603Oct 26 2007 — edited Oct 26 2007I am trying to convert a List to a String. can someone please tell me what is wrong with this code. Thanks
List x = (List)request.getAttribute("setNum");// getting the attributes that I get for setNum that is in a list array
// String y[]= (String[])request.getAttribute("eachNumber");
String z= null;
for (int j= 0; j< x.size(); j++)
{
z= List.toString(x.get(j));
}