Hi,
Struts2 actions can implement one or all the interfaces to become
Application, Session, Request aware. Struts2 then basically injects
all the attributes in that particular scope in a map in your action.
Have 3 questions so far:
Que 1. Since these actions have their own copy of lets say the
application attributes. At some pt while this action instance is
alive some code may put in a new application attribute. Does this get
injected in the action instance whose map was set already as well?
Que 2. Are their performance implications to be kept in mind since
now action instances are not shared per request and each instance has
its own copy of the attributes ?
Que 3. Since interceptor instances are shared across requests (please
correct me if i am wrong). Is it more useful to make your interceptor
Application or Session Aware and have the application and session map
in the interceptor rather than in the Action?
Thanks
-Mufaddal.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]