commandLine.setUploadPath(theXMLConfUpload.valoreNodo(prefixUpload + "[" + (i + 1) + "]" + "/commandList/command[" + (j + 1) + "]/uploadPath/text()"));
if (commandLine.getUploadPath().toLowerCase().contains("webapp")) {
Map<String, String> valuesMap = new HashMap<String, String>();
valuesMap.put("webApp", (String) modelMap.get("realPath"));
StrSubstitutor strSubstitutor = new StrSubstitutor(valuesMap);
commandLine.setUploadPath(strSubstitutor.replace(commandLine.getUploadPath()));
}
commandLine.setUploadNameDir(theXMLConfUpload.valoreNodo(prefixUpload + "[" + (i + 1) + "]" + "/commandList/command[" + (j + 1) + "]/uploadNameDir/text()"));
uploadBean.getCommandLine().add(commandLine);
}
}