Hello all I'm facing a problem and I want to get advices from you I have three bean class that are extending from the same base class the base class is declared as abstract Now I want to create three action forms for validating the informations corresponding to each of these beans. For this I have created a base abstract action form and extended it to implement the action forms corresponding to the beans. In the abstract form I validate the properties of the abstract bean class and in the three beans implentations I validate (calling the super.validate) all the properties The problem I have to deal with is that I don't want to declare in my struts-action.xml file the three concrete form bean. I want to declare only one action form with the type of the abstract class with one name. In one of my action I will instantiate the right concrete form bean put it in the session scope (core struts wont have to create it again) with the name declared in the config file, then at validation time the struts core will get the action form bean from the session and validate the right way. I have tested that but the problem is the following : struts finds the bean in the session scope, then it retrieves the form-bean declaration from the struts-config file and then test if the name of the class declared in the form-bean tag is equal to the name of the class retrieved from the session. These names of course are different because one is the name of the abstract action form class and the other one of the name of the three concrete action form Is there an another way to do or maybe I have to patch the struts core for making it search into the class hierarchy other than on the name of the form-bean class? ============================================================= -- KeV -- ============================================================= -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

