You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Shyam Anand <sh...@yahoo.com> on 2003/06/02 21:01:39 UTC
[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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org