commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knezevic, Mihael" <m.kneze...@porta.de>
Subject RE: File Upload... not multipart?
Date Fri, 06 Jan 2006 07:19:46 GMT
i think you should at least have one input tag with attriubte type='file' in your form. 

> -----Original Message-----
> From: David Johnson [mailto:chachany@gmail.com] 
> Sent: Thursday, January 05, 2006 7:29 PM
> To: Jakarta Commons Users List
> Subject: File Upload... not multipart?
> 
> 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
> 

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


Mime
View raw message