wood burning stoves 2.0*
The moose likes Struts and the fly likes ActionContext scope? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
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://aspose.com/file-tools
 
subject: ActionContext scope?
 
Similar Threads
setting attributes in the scopes
${} vs %{} vs #{}?
ValueStack Scope
Idioms for Deterministic destruction
Difference between ActionContext.getContext().getSession() and HttpSession