my dog learned polymorphism
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionContext scope?" Watch "ActionContext scope?" New topic

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:
subject: ActionContext scope?
It's not a secret anymore!