Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to edit multiple files after uploaded into server

 
K Koteswara Rao
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi my form contains multiple files upload functionality in struts f/w after upload my files into server when i edit my form page it will not show the uploaded files names .any one give me suggestion to me
i have written like this
fileName=rs.getString(27);
fileNameTokens=fileName.split(",");

for(String fileNames:fileNameTokens)
{
System.out.println("formFileNames............."+fileNames);

arrayList.add(fileNames);
frmgttActionForm.setFormFiles(arrayList);
}
System.out.println("arrayList"+arrayList);



System.out.println("getFormFiles***********"+frmgttActionForm.getFormFiles().get(0));
//request.setAttribute("formfiles", arrayList);

}
form=frmgttActionForm;
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic