The same name in scope, but different names in struts-config.xml

2002-01-11 Thread Christian Bouessay
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

Re: The same name in scope, but different names in struts-config.xml

2002-01-11 Thread Mister Hundy
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

Re: The same name in scope, but different names in struts-config.xml

2002-01-11 Thread Christian Bouessay
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. Do you mean only one class (Form.java)