You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Caroline Jen <ji...@yahoo.com> on 2004/10/15 21:53:17 UTC

The Type of a Form Property is of org.apache.struts.upload.FormFile

A property in my form, 'theFile',is of the
org.apache.struts.upload.FormFile type.

In my struts-config.xml file, do I still give a
java.lang.String type:

          <form-property 
            name="theFile" 
            type="java.lang.String">
          </form-property>

and then use the BeanUtils.copyProperties( ... ) in
the Action to convert it to the FormFile type?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org