RE: The Type of a Form Property is of org.apache.struts.upload.FormFile

2004-10-15 Thread Joe Hertz
> From: Caroline Jen > A property in my form, 'theFile',is of the > org.apache.struts.upload.FormFile type. > > In my struts-config.xml file, do I still give a > java.lang.String type: Nope. You said it yourself. Since it's a FormFile in your form, you declare it as a FormFile in the form. :-)

The Type of a Form Property is of org.apache.struts.upload.FormFile

2004-10-15 Thread Caroline Jen
A property in my form, 'theFile',is of the org.apache.struts.upload.FormFile type. In my struts-config.xml file, do I still give a java.lang.String type: and then use the BeanUtils.copyProperties( ... ) in the Action to convert it to the FormFile type?