Javatpoint Logo
Javatpoint Logo

Struts 2 ActionContext Tutorial

The ActionContext is a container of objects in which action is executed. The values stored in the ActionContext are unique per thread (i.e. ThreadLocal). So we don't need to make our action thread safe.

We can get the reference of ActionContext by calling the getContext() method of ActionContext class. It is a static factory method. For example:

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA