-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dave,
Dave Newton wrote:
> --- Christopher Schultz wrote:
>> If page2.jsp contains a form, then it is perfectly
>> natural to use an ActionForm to shuttle data from
> the
>> action to the page.
>
> That's actually debatable, and has been in the past.
>
> Some people prefer to use ActionForms exclusively for
> form data and not Plain Old Presentation Data. I am of
> this camp.
If you have a form that needs to be populated, submitted, validated and
possibly re-displayed, why not use an ActionForm to populate the form in
the first place?
Otherwise, you have crazy code in the form just to pre-populate form
values -- checking both the POJO (or whatever) and the ActionForm.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF5vca9CaO5/Lv0PARAqMMAJsETWtv28HaY1ivgKYKGrcgo+zv3gCfS424
nU2G8pwJP+kw3/1jLMaXh1k=
=8LTF
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)