commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mart...@apache.org>
Subject Re: File Upload
Date Thu, 15 Oct 2009 15:46:07 GMT
On Tue, Oct 13, 2009 at 9:02 PM, Anand Shankar <anand.al.788@gmail.com> wrote:
> Hello
>
> I am facing more problem about File Upload and anybody is helping me. I have
> listed my problem on all the open source forum, so please give me your some
> important moment to suggest that how can I solve this problem.
>
>
> I am using a form with enctype="multipart/form-data" in order to upload
> files from the form.
> I have read this page: http://commons.apache.org/fileupload/using.html and
> everything works well for my form.
>
> The only problem is that I can't get all the values from a "multiple select"
> html object. I get only one value.

Are you *asking* for more than one value? Or are you only asking for
the first one?

Iterate.

--
Martin Cooper


> Using servlets I have used this method:
>
> *public* java.lang.String[] getParameterValues(java.lang.String name)
>
>
>
> But now I have enctype="multipart/form-data" in my form and I can't use this
> way...
> Is there a way to get all the values of a multi-valued parameter?
>
>
> Thanks a lot!
>
> --
> Anand Shankar
>

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


Mime
View raw message