Uhhh! Duhhhh! I forgot the enctype="multipart/form-data" in my form tag.
Brandon Goodin -----Original Message----- From: Brandon Goodin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 9:02 AM To: Struts User List Subject: Map Backed Forms and File Upload Hey all, I have a form with a map field called files: protected HashMap files; /** * */ public TestForm() { this.files = new HashMap(); } /** * @return HashMap */ public HashMap getFiles() { return files; } /** * Sets the files. * @param files The files to set */ public void setFiles(HashMap files) { this.files = files; } ... setFiles(HashMap map) { } In my form page I use the following input <html:file property="file(thumbnail)"/> <html:file property="file(fullsize)"/> When I retrieve the object associated with the 'thumbnail' or 'fullsize' key I get a String with the file path of my local computer? The map does not hold FormFile objects? I hope thats not true. Brandon Goodin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

