aspose file tools*
The moose likes Struts and the fly likes multiple file upload using display tag - struts 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "multiple file upload using display tag - struts 1.2" Watch "multiple file upload using display tag - struts 1.2" New topic
Author

multiple file upload using display tag - struts 1.2

Chauhan Hemant Kumar
Greenhorn

Joined: Sep 25, 2012
Posts: 1
Hi,
I am using display tag to dynamically get populate no of file uploads in a page from the bean.
but not able to retrieve multiple files.

JSP page:
<display:column titleKey="supportdoc.title" class="genTextValues" media="all" >
<html:file name="wireForm" styleClass="genTextValues" property="supportingDoc" onkeydown="javascript:return(false);" size="5"/>
</display:column>


Form File:
private FormFile supportingDoc;
public FormFile getSupportingDoc() {
return supportingDoc;
}
public void setSupportingDoc(FormFile supportingDoc) {
this.supportingDoc=supportingDoc;
}

i tried with this also :
private FormFile[] supportingDoc;
public FormFile[] getSupportingDoc() {
return supportingDoc;
}
public void setSupportingDoc(FormFile[] supportingDoc) {
this.supportingDoc=supportingDoc;
}

in both the cases it is not working.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple file upload using display tag - struts 1.2