Hi,
I want to use struts dynamic form feature. 
There is form which has an upload file filed and some
input text. I used below in struts_config.xml


 <form-bean
  name="TenderVwcredForm"
  dynamic="true"
 
type="org.apache.struts.validator.DynaValidatorForm">
  <form-property name="tenderTitle" 
type="java.lang.String"/>
  <form-property name="productName" 
type="java.lang.String"/>
  <form-property name="tenderFile"  
type="org.apache.struts.upload.FormFile"/>
  </form-bean>



But I got the classcast exception:

error BeanUtils.populate
org.apache.commons.beanutils.ConversionException:
Cannot assign value of type 'java.lang.String' to 
property 'tenderFile' of type
'org.apache.struts.upload.F
ormFile'


Please help.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to