M
Mukesh Gupta
Hello group,
I want to make a discussion on count of object formed in JVM for struts
action.
My question is: when we use action class to perform some action in
struts.
1. every call has its own action (different) object.
2. is every session has its own action (different) object.
As far as understand every call to the action has different object to
perform the task. But I observed through profiler that for different -2
calls there is only one action object in JVM. Even for different
session there is only one object formed.
Its confusing... please tell what is the actual scenario according to
struts framework.
If my observation is correct then in what all manner we can use this
one object nature of action object.
Thanks.
MG
I want to make a discussion on count of object formed in JVM for struts
action.
My question is: when we use action class to perform some action in
struts.
1. every call has its own action (different) object.
2. is every session has its own action (different) object.
As far as understand every call to the action has different object to
perform the task. But I observed through profiler that for different -2
calls there is only one action object in JVM. Even for different
session there is only one object formed.
Its confusing... please tell what is the actual scenario according to
struts framework.
If my observation is correct then in what all manner we can use this
one object nature of action object.
Thanks.
MG