commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Kamran Liaqat <kamran...@gmail.com>
Subject Re: upload.parseRequest(request) returns no items!!
Date Mon, 13 Jul 2009 06:41:30 GMT
Thanks Jochen for your response.

Yeh items.isEmpty() returns true, don't know why the list comes out to be
empty when I am uploading a file already.

Thanks.

On Mon, Jul 13, 2009 at 12:33 PM, Jochen Wiedmann <jochen.wiedmann@gmail.com
> wrote:

> What does items.isEmpty() show?
>
> On Mon, Jul 13, 2009 at 8:15 AM, Mohammad Kamran
> Liaqat<kamranbcs@gmail.com> wrote:
> > Hi all!
> >
> > I have a form with "enctype" set to "multipart/form-data" obviously and
> it
> > hits a controller.ServletFileUpload.isMultipartContent(request) returns
> true
> > showing the request is of multipart type but I am unable to get any file
> > items when I retreive the list like this,
> >
> > List items = upload.parseRequest(request);
> >
> >
> > I have the "name" and "id" set for the file item in my form.
> >
> > Can anybody help me out with what could be the reason?
> >
> > Thanks,
> > Kamran.
> >
>
>
>
> --
> Don't trust a government that doesn't trust you.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message