Christian, Would it be possible to have just 1 form with a "type" property and then from the JSP's a hidden field that sets the type? Based on this "type" you can control the proper validation. Having different classes with the same form name could get messy.
>From: Christian Bouessay <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: The same name in scope, but different names in struts-config.xml >Date: Fri, 11 Jan 2002 14:21:25 +0100 > >Hi, >I would like to use something like this: > ><form-bean name="form1" type="com.mycompany.Form1" /> ><form-bean name="form2" type="com.mycompany.Form2" /> ><form-bean name="form3" type="com.mycompany.Form3" /> > >with : Form1.java, Form2.java, Form3.java extend Form.java. >Form1, Form2 and Form3 have the same properties, but different >validate() methods. > >How to write that all these forms refer the same one. >I mean, I would like struts to save these differents form-beans with the >same name in session or request scope. Then, I could use the properties >set in form1 in the form2 (etc.) (like a wizard) > >Thanks for help. > >-- >C. Bouessay > > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > _________________________________________________________________ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>