I like this idea... Elegant simplicity...
In a few of my cases however I need to populate select boxes from a DB.. -----Original Message----- From: kkamholz [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 8:39 AM To: struts-user Subject: RE: prevent of generating validation errors, when using form the first time I'm not sure if this is frowned upon, but I just have a link straight to my JSP. I don't go through an action unless I have to. Why make the application do the extra work? ~ Keith http://www.buffalo.edu/~kkamholz -----Original Message----- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Friday, August 02, 2002 12:10 AM To: [EMAIL PROTECTED] 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>