Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Method A:
ActionContext.getContext().getParameters() (returns Map, works internally using a ThreadLocal)

Method B:
Have the action implements ParameterAware interface and the parameters will be set through the setParameters(Map) method. This requires that the 'servlet-config' interceptor being added to that particular action.

...