Cheap VPS & Xen Server

Residential Proxy Network - Hourly & Monthly Packages


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:

  1. ActionContext context = ActionContext.getContext();