The book 'Professional
Struts Applications - Building Websites ...' says following about reset() method:
"<b>If the developer declares that the ActionForm is to be placed in the session, the reset() method will not be invoked</b>. The ActionServlet will bypass the reset() method, populate the properties in the ActionForm with the data from the user's request, and then call the validate() method of the ActionForm."
The book 'Programming Jakarta Struts' says following about the reset() method:
"For an ActionForm that has been configured with request scope, the framework will create a new instance for each new request; hence, there's not much need to reset the values back to any default state. <b>ctionForms that are configured with session scope are different, however, and this is where the reset() method comes in handy</b>."
Which one is correct?
Thanks
KK