struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caroline Jen <jiapei_...@yahoo.com>
Subject The Type of a Form Property is of org.apache.struts.upload.FormFile
Date Fri, 15 Oct 2004 19:53:17 GMT
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


Mime
View raw message