Como recibir un array por post con Java

noviembre 25th, 2009 Posted by Sin categoría 0 thoughts on “Como recibir un array por post con Java”

Enumeration enumParameters = request.getParameterNames();

List chassis = new ArrayList();

if(enumParameters != null){
while(enumParameters.hasMoreElements()){

String param = “”;

try{

param = enumParameters.nextElement().toString();

if(param != null){

if(param.substring(0,3).equalsIgnoreCase(“add”)){

chassis.add(request.getParameter(param));

}

}

} catch(StringIndexOutOfBoundsException se) {

}

}

}

Copyright © 2018 programadorfreelanceargentina.com

Programador Freelance Argentina