Hi, May be you can try to use the reset() in the Form.
Good Luck Cliff ----- Original Message ----- From: "elisegev1" <[EMAIL PROTECTED]> To: <struts-user@jakarta.apache.org> Sent: Thursday, January 06, 2005 3:12 AM Subject: Attributes Initialization > > I have a form that needs some initialization. The form is derived > from DynaValidatorForm and its properties are defined in struts- > config.xml. I initialize an attribute in the 'execute' method of > my 'Action' class. For some reason when the servlet container > creates the page for the first time, the Struts servlet does not call > the 'execute' method and consequently there is no attribute > initialization. When I hit the 'submit' button, the 'execute' method > is called and the attribute is initialized correctly. I think that > the problem is somewhere in re-direction, but I don't know where. > Can anyone suggest why the 'execute' is never called before the > initial display of the form? > > --------------- > Eli Segev > > > > > > --------------------------------------------------------------------- > 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]