commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edwin Ramirez <edwin.rami...@mssm.edu>
Subject FileUpload form field issue
Date Tue, 27 Jun 2006 15:43:49 GMT
Hello,

I've started using the fileUpload component to handle form submissions 
containing files.  I am following a very simple example and everything 
is working as expected.  However, it seems that multi-value form 
elements are not handled properly.

For example, the select tag such as:
<select name="multi" multiple size=5>
<option>One
<option>Two
<option>Three
<option>Four

<option>Five
<option>Six
<option>Seven
<option>Eight
<option>Nine
<option>Ten
</select><br/>

will only retrieve the last item selected.

I am using the getString() method of the FileItem interface.  Is there 
another method which returns an array of values?

Thanks,

-- 
Edwin S. Ramirez
Senior Developer
Mount Sinai Medical Center
Information Technology
212-659-5614


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message