| 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.
|
 |
 |
|
|
subject: multiple file upload using display tag - struts 1.2
|
|
|