Cleans up memory. Like doing a manual GC (not quite) Removing it from request scope however doesn't really do much as Struts SHOULD handle this for you. -Tim
-----Original Message----- From: Shyam Anand [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 3:02 PM To: [EMAIL PROTECTED] Subject: [newbie]: Remving Form Bean from scope Hi, I'm not sure about the purpose of removing a form bean from scope in an ActionClass after submitting a form, as shown below: ################################################## // Remove the obsolete form bean if (mapping.getAttribute() != null) { if ("request".equals(mapping.getScope())) request.removeAttribute(mapping.getAttribute()); else session.removeAttribute(mapping.getAttribute()); ################################################# What will happen if the form bean is not removed from scope? Does it affect concurrent access of the corresponding web page in anyway? Could somebody throw some light on the topic? Thanks, Shyam __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

