I set method="post" too ... sorry I didn't mention that.

----- Original Message -----
From: "Henry Lu" <[EMAIL PROTECTED]>
To: "struts users" <[EMAIL PROTECTED]>
Sent: Thursday, February 21, 2002 2:53 PM
Subject: <html:file> tag and FormFile


> Is there any one who may help me to figure out how to use <html:file> rag
> and FormFile in a ActionForm? I got errors where I tried to use both.
> errors are:
>
> javax.servlet.ServletException: BeanUtils.populate
> ....
> Root Cause:
> java.lang.IllegalArgumentException: argument type mismatch
>
> my JSP file has:
>
> <html:file property="myfile"/>
>
> and my ActionForm has:
>
> private FormFile myfile;
>
> // getter and setter
>
>
>
> --------------------------------------------------------------------------
-
> Henry Lu
> MCIT                                            phone: (734) 936-2063
> University of Michigan Medical Center           fax:   (734) 763-4372
>
>
> --
> 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