> 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. :-) > and then use the BeanUtils.copyProperties( ... ) in > the Action to convert it to the FormFile type? No. What the users sends you will come into your request on the form as an instance of a FormFile. You'll use the FormFile class methods to do what you need to with it (get the data, etc). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]