You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Josh <jr...@yahoo.com> on 2001/02/08 19:59:37 UTC

ActionServle Question?

The ActionServlet seems to be keeping a lot of state data.  It is keeping
collections of Action and ActionFormBean objects.  When one of these objects is
instantiated the ActionServlet holds onto it.  Is only one copy of these
objects kept for the entire application or are these objects kept per user? 

Thanks,
Josh


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Re: ActionServle Question?

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Josh wrote:

> The ActionServlet seems to be keeping a lot of state data.  It is keeping
> collections of Action and ActionFormBean objects.  When one of these objects is
> instantiated the ActionServlet holds onto it.  Is only one copy of these
> objects kept for the entire application or are these objects kept per user?

The answer depends on which specific objects you are talking about, but
in general
the things that the ActionServlet maintains are in existence only once. 
For
example, there is a single collection of Actions, a single collection of
ActionMappings, a single collection of ActionFormBeans, a single
application
resources object, and so on.

>
> Thanks,
> Josh

Craig McClanahan