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]>

Reply via email to