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... not multipart?
Date Thu, 05 Jan 2006 21:40:42 GMT
Strange. If you're not already using FileUpload 1.1, you should upgrade to
that and see if it makes a difference. There were several fixes made in that
version regarding the way header values are obtained and compared.

--
Martin Cooper


On 1/5/06, David Johnson <chachany@gmail.com> wrote:
>
> Hi again
>
> Okay, I'm doing the following in my form handler, and its telling ym the
> form is NOT multipart
>
>         boolean isMultipart = FileUpload.isMultipartContent(request);
>         if (isMultipart){
>             System.out.println("Form is multipart");
>         }else{
>             System.out.println("Form is NOT multipart");
>         }
>
> a snippet from my JSP is as follows
>
> <form name="form" method="POST" enctype="multipart/form-data">
> <input type="text" name="root.wizard.step#fileLocation" value=""
> title="Enter the location of File" size="50"/>
> </form>
>
> Is there something I'm missing?
>
> Thanks
>
> --
> -Dave
> ChaChaNY@Gmail.com
>
>

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