The FormBean is created when the action expecting it is called. It does not matter if it was called from a form or not.
In some of my cases I call the action directly so that it can populate a select box before showing the form. -----Original Message----- From: struts [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 12:10 AM To: struts-user Subject: Re: prevent of generating validation errors, when using form the first time Subject: Re: prevent of generating validation errors, when using form the first time From: "Selvamohan Neethiraj" <[EMAIL PROTECTED]> === I just got into this mailing list. But, I see this question pop-up many times and I really did not see this as an issue. The Action is invoked only when the corresponding HTML form is submitted to the Controller Servlet. The first time, when the HTML (or JSP) is displayed to the user via HTML, I am assuming that you have forwarded from a previous action. If your previous action had passed the control to the current HTML, the ActionForm associated with the HTML (or JSP) should never get invoked. Isn't this correct ? Thanks, Selva- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Selvamohan Neethiraj Senior Software Engineer, TEOCO, Fairfax, VA 20165 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Albrecht Berger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hello, > how can I prevent that errors are generated by my validator when a form > is displayed the first time ? > > Thx berger > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>