On Mon, 18 Nov 2002, Reza Aliakbari wrote:
> Hi, > > I use dynamic forms in my projects; but this time I want to upload > A file and when I use <form-property name="myFile" > type="org.apache.struts.upload.FormFile" /> > An error occurs that says that cannot assign String to FormFile. > How can I use dynamic form with this kind of objects? FormFile is an interface, so it can't be instantiated. Try using DiskFile instead - it implements FormFile. -- Martin Cooper > > Thanks, reza. > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>