Mark

essentially, in my form handler, I'm doing the following.... and its telling
me that 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>

I'm really wondering why that might be... given that you can clearly see in
my jsp that its multipart.



On 1/4/06, Mark <[EMAIL PROTECTED]> wrote:
>
> I guess I am confused as to which file you are talking about.  Are you
> uploading a file to a servlet/JSP page ?  If so, commons-fileupload should
> provide all the information you need.
>
> On 1/3/06, David Johnson <[EMAIL PROTECTED]> wrote:
> >
> > Hi all
> >
> > I'm looking for a little guidance on the usage of fhe FileUpload
> > component
> > to see if it can meet my needs on my application. Essentially, I have an
> > application that (in the session) knows the location of a file which I
> > Ideally would like to move to another "common" location, such as under
> > the
> > web server itself.
> >
> > Does the file upload allow that sort of thing? The file itself isn't a
> > part
> > of the form, but I do have the file system location of the file..
> >
> > Thoughts?
> > --
> > -Dave
> > [EMAIL PROTECTED]
> >
> >
>


--
-Dave
[EMAIL PROTECTED]

Reply via email to