Konstantin Priblouda wrote:
What is correct way to obtain ActionContext
which was initialized with HttpSession data if
there

is
HttpSession around?
I think ServletActionContext.getSession() works.
This method does not exists in current CVS version
of webwork...
Sorry, that should be ActionContext.getSession()

Another question: It seems to me that ActionContext is stored as
TreadLocal, is this map kept in synch with session
contents?
The reference to the session is updated every time an action is executed. Execute an action -> works. Don't execute an action -> doesn't work, or unspecified.

Again, if you just run an action access to the context is not a problem. If you try to access the context in any other scenario, you're asking for trouble.

/Rickard

--
Rickard Öberg
[EMAIL PROTECTED]
Senselogic

Got blog? I do. http://dreambean.com



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to