Spring struts and forms
- by Kiva
Hi guy,
I need to integrate struts with spring for a project.
I read the doc to ingrate struts and it's ok for classic beans but I have a problem for my forms.
I have a form like this in my struts-config.xml:
<form-beans>
<form-bean name="creationForm" type="org.apache.struts.validator.DynaValidatorActionForm" >
<form-property name="libelle" type="java.lang.String" />
<form-property name="quantite" type="java.lang.String" />
<form-property name="prix" type="java.lang.String" initial="10" />
</form-bean>
But it's strange for me to have a "type" in struts-config because it's spring which manages beans.
I don't found anything in the doc to manage forms by spring and the attribute "type" is mandatory for form in struts-config.
Someone can help me please ?