Hello Mark,

Before upgrading my struts to beta 2, I was using DiskFile class in my form
bean to store the uploaded file.
After an upgrade to beta 2, the DiskFile class throws your exception.

If you use a DiskFile class to, my solution is to used instead a FormFile
class to store uploaded file.


Nicolas

-----Original Message-----
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: vendredi 20 septembre 2002 21:41
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]>

<<attachment: winmail.dat>>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to