posted 16 years ago
hi all,
I action form has FormFile object which has get and set method. My ActionForm extending by the ValidatorForm.
this the get and set method in my ActionForm
private FormFile theFile;
public FormFile getTheFile() {
return theFile;
}
public void setTheFile(FormFile theFile) {
this.theFile = theFile;
}
what happed was when i select the file and click sumbit button it displays follow error in the browser
java.lang.IllegalArgumentException: Cannot invoke com.form.MyForm.setTheFile - argument type mismatch
eventhough My arument passing all are corret, why displays such error
What is problem in this, guys please help me