This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes how to edit multiple files after uploaded into server  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to edit multiple files after uploaded into server  " Watch "how to edit multiple files after uploaded into server  " New topic
Author

how to edit multiple files after uploaded into server

K Koteswara Rao
Greenhorn

Joined: Oct 15, 2012
Posts: 6
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;
 
Consider Paul's rocket mass heater.
 
subject: how to edit multiple files after uploaded into server