title: Changing request parameter value in Struts2 interceptor
body: <p>Does anybody know if it is possible to change/remove request parameter values in a Struts2 interceptor?</p>
  
  <p>The request parameter <code>Map</code> is an instance of <code>UnmodifiableMap</code> so it doesn't look like it can be manipulated with in the interceptor.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I'm using Liferay so <code>uParamsMap</code> will be an <code>UnmodifiableMap</code></p>
  
  <pre><code>public String intercept(ActionInvocation invocation) throws Exception {
      final ActionContext context = invocation.getInvocationContext();
      PortletRequest request = (PortletRequest) context.get(REQUEST);
      Map&lt;String, String[]&gt; uParamsMap = request.getParameterMap();
      return invocation.invoke();
  }
  </code></pre>