Can anyone please explain why reset() is used in form bean?
posted 6 years ago
As the name suggests this method allows you to reset your form properties....
the api says it all:
Reset bean properties to their default state, as needed. This method is called before the properties are repopulated by the controller.
The default implementation does nothing. In practice, the only properties that need to be reset are those which represent checkboxes on a session-scoped form. Otherwise, properties can be given initial values where the field is declared.