Project: MyEclipse -> MyHelloStruts
1. Session
Class ActionContext
static ActionContext | getContext() Returns the ActionContext specific to the current thread. |
Map | getSession() Gets the Map of HttpSession values when in a servlet environment or a generic session map otherwise. |
getContext
public static ActionContext getContext()
- Returns the ActionContext specific to the current thread.
-
-
- Returns:
- the ActionContext for the current thread, is never null.
getSession
public Map getSession()
- Gets the Map of HttpSession values when in a servlet environment or a generic session map otherwise.
-
-
- Returns:
- the Map of HttpSession values when in a servlet environment or a generic session map otherwise.
No comments:
Post a Comment