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]

Reply via email to