Generics is a Java 5.0 feature... Don't think the features with 5.0 are introduced to Struts framework yet!
Thanks & Regards, Nitesh _____________________________ Disclaimer: Information contained and transmitted by this e-mail is confidential, proprietary, and legally privileged data of Cordiant Technologies that is intended for use only by the addressee. If you are not the intended recipient, you are notified that any dissemination, distribution, or copying of this e-mail is strictly prohibited and you are requested to delete this e-mail immediately and notify the originator. Any views expressed by an individual do not necessarily reflect the view of Cordiant Technologies. The recipient should scan this email and any attachments for viruses as Cordiant Technologies is not liable for the presence of viruses in this email. Cordiant Technologies does not accept liability for any errors or omissions as the internet communications cannot be guaranteed to be timely, secure, error or virus-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete. To know more about Cordiant Technologies, please visit http://www.cordiant.com _____________________________ -----Original Message----- From: Kent Boogaart [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 06, 2005 1:11 PM To: user@struts.apache.org Subject: Struts and Generics Hi there, I'm wondering whether it's possible to use generics with struts. Something like: <form-bean name="test" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="users" type="java.util.ArrayList<testpackage.User>"/> </form-bean> I tried doing this (with my class names of course) and I get this exception on startup: javax.servlet.ServletException: Can't get definitions factory from context. Thanks, Kent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]