It's really difficult to help without seeing your code. Are you using <html:file property="key" /> in your <html:form>? I don't know anything about BeanUtils, but if it acts like java.util.Properties, the key and value are both strings. File uploads are of type multipart/form-data (see experimental RFC 1867) and you retrieve it in the servlet with
public String MultipartRequest.getParameter( String key); See: Jason Hunter, "Java Servlet Programming, 2d ed.," pp 119ff. Mark -----Original Message----- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 3:41 PM To: Struts Users Mailing List Subject: file upload problem hello again, so i am trying to implement a file upload feature in my application, and i think i have everything setup correctly, but i am getting this error on submission. javax.servlet.ServletException: BeanUtils.populate java.lang.IllegalArgumentException: argument type mismatch i feel that this might be due to the type of the file field in the Form object. right now it is string (as is everything else). should the file type is a form object be something different? thanks, mark -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>