Can we set a type of a form-property as array of Objects?
Example:
<form-bean name="informationForm" dynamic="true"
type="org.apache.struts.action.DynaActionForm">
<form-property name="informations"
type="com.myCompany.beans.Information[]"/>
</form-bean>
OR set them as ArrayList(Collection)
Like:
<form-bean name="informationForm" dynamic="true"
type="org.apache.struts.action.DynaActionForm">
<form-property name="informations" type="java.util.ArrayList"/>
</form-bean>
Another question: If both are possible then which one is better for which
context
----------------
Ehteshamul Haque
---------------------------------
Looking for a deal? Find great prices on flights and hotels with Yahoo!
FareChase.