use the getInputStream method... and do was you would with any
inputstream....
i hate the IO classes, so good luck :)
At 01:28 PM 9/20/2002 -0700, you wrote:
>I am using version 1.0.2.
>
>i went and looked at the example, and found my answer, FileForm.
>
>now i have another question, that may be a silly one, but is there any
>reason I shouldn't turn the contents of the FileForm into a String, and
>then run StringTokenizer over it? This is a csv file, that i am importing
>into the database.
>
>thanks,
>mark
>
>
>-----Original Message-----
>From: Martin Cooper [mailto:[EMAIL PROTECTED]]
>Sent: Friday, September 20, 2002 12:43 PM
>To: 'Struts Users Mailing List'
>Subject: RE: file upload problem
>
>
>What version of Struts are you using?
>
>You should take a look at the sources for the struts-upload sample
>application that comes with Struts. That will give you a working example to
>refer to.
>
>--
>Martin Cooper
>
>
> > -----Original Message-----
> > From: Mark Silva [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, September 20, 2002 12:41 PM
> > To: Struts Users Mailing List
> > Subject: file upload problem
> >
> >
> > hello again,
> >
> > so i am trying to implement a file upload feature in my
> > application, and i think i have everything setup correctly,
> > but i am getting this error on submission.
> >
> > javax.servlet.ServletException: BeanUtils.populate
> > java.lang.IllegalArgumentException: argument type mismatch
> >
> > i feel that this might be due to the type of the file field
> > in the Form object. right now it is string (as is everything else).
> >
> > should the file type is a form object be something different?
> >
> > thanks,
> > mark
> >
> > --
> > To unsubscribe, e-mail:
><mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>--
>To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>