Hi - In our application, we have quite a few multi-page forms, where the ActionForm had to be created at the session scope. A typical example is an entry screen, where the user enters a record (spanning multiple pages) and presses "submit". The record gets inserted into the database and the form is cleared for the next entry. Typically a user will enter many records in one go once he is in the entry mode.
In this case, does it make sense to remove these action forms from the session after each "submit" ? If I am not very mistaken, then Struts creates an ActionForm only when one does not exist in the specified scope with the same name. Hence I feel that we can gain here by not removing the action form from the session every time he does a "submit", since in that case Struts will re-create the form when it is loaded again. Then how do we do the necessary cleanup of the session-scoped ActionForm ? One option may be to do the cleanup when the user goes to some other menu item from the entry mode. I would like to know of any existing best practices in this case. Please help !! Best Regards. - Debasish __________________________________________________ Do You Yahoo!? Listen to your Yahoo! Mail messages from any phone. http://phone.yahoo.com

