-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave,
Dave Newton wrote: > --- Christopher Schultz wrote: >> Right. Under most circumstances, you should set >> validate="true" in your <action> definition, and >> /not/ call form.validate() in your own action. >> You /are/ free to call validation by hand, but it's >> generally more convenient to allow Struts to handle >> the validate/fail/redirect logic for you -- if only >> to simplify the code in your own actions. > > Bah. That still doesn't make any sense to me; my base > class handles all of the work and I don't have to > define another action with a different URL just to > display a form without running validation. I didn't say that you need another URL that doesn't perform validation. I'm just suggesting that calling form.validate( ) by hand doesn't buy you much (unless you are doing something complex). Since the OT is just starting out, I'm guessing his validations are relatively simple. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFF9t0V9CaO5/Lv0PARAnDKAJ97njyUOTxekxwoEJAi7+OY7qLcnwCgno4C GYNRNQMEWRpZk4RLss0W7S0= =IlSV -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]