i think you should at least have one input tag with attriubte type='file' in your form.
> -----Original Message----- > From: David Johnson [mailto:[EMAIL PROTECTED] > 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 > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
