Hi Guys,

I came to know that there is a scope attribute that we need to consider if
we manage all our actions through spring.
default it is singleton. Means it will create only one instance.
If we change scope = "prototype", it will create as many instances.
scope = "request", it will create for every request, 
scope="session" means it will create one instance for every user sesson.

I think we need to change it to scope="prototype".
Do we need to do this only for action classes or we need to do for dao's and
service classes which we call them from action classes.
Can anybody please explain....


Thanks in advance
RS
-- 
View this message in context: 
http://old.nabble.com/bean-tag-scope-attribute-in-spring-appcontext.xml-tp27326363p27326363.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to