This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes ActionContext scope? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "ActionContext scope?" Watch "ActionContext scope?" New topic
Author

ActionContext scope?

Goran Markovic
Ranch Hand

Joined: Sep 26, 2008
Posts: 399
What is the scope (lifetime) of object stored in ActionContext, out of any given scope (session, application...) like: So here I didn't specified any scope, but save object in ActionCOntext along ValueStack, Session and others. Considering that Session object has lifetime of session, Reguest of request duration, and so on, but what is a lifetime of Some_Object ?
Omar Al Kababji
Ranch Hand

Joined: Jan 13, 2009
Posts: 357
does ActionContext = PageContext ?? if yes then when you don't specify a scope it will be pageContext.


Omar Al Kababji - Electrical & Computer Engineer
[SCJP - 90% - Story] [SCWCD - 94% - Story] [SCBCD - 80% - Story] | My Blog
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: ActionContext scope?
 
Similar Threads
setting attributes in the scopes
Idioms for Deterministic destruction
ValueStack Scope
Difference between ActionContext.getContext().getSession() and HttpSession
${} vs %{} vs #{}?