I see one cause: it is "probably" quicker as instantiation of new one.
But i see some drawbacks:
1) To use it properly, you must implement reset() method. But using reset() method is error prone, you can easy add new property without adding resetting of this one.
2) If you reset all properties, you can not use such ActionForm for collecting data among more HTML Forms - it is not easy to undestand for new users, for me it's like a trap in this whole design.
3) Sometimes you need prepare (set) some values. The best choice is to put such code in logic tier - Action befor forwarding to view. But in this case reset() may delete those values if you use redirections.
4) Struts code without recycling could be easier.
5) I spouse, reset() is in most cases not very much quicker as making new instance. In any case, instantiatation of new form occurs relative seldom.
I think, we schould remove recycling of ActionForms and reset() schould be deprecated.
-- Radek Wisniewski
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]