title: Preserving all request parameters through a redirect to an Action
body: <p>I need to populate the records with updated message (success / failure)after updating the records in the page. both the actions are from same page. I have added the code as, After completing Update action added the result type as Chain and it shows success message. But it is not disappearing when we click on Search immediately(first time) after update action completes. Help me to clear the message while clicking on search action.</p>
  
  <p>Due to above issue i used redirect option in result type. But i could get the request parameters in redirected action. is there any way to get all request parametrs in redirected action other than hardcoding it?</p>
  
  <p><img src="https://i.stack.imgur.com/yChei.jpg" alt="enter image description here"></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;interceptor-stack name="storeStack"&gt;
      &lt;interceptor-ref name="defaultStack" /&gt;
      &lt;interceptor-ref name="store"&gt;
          &lt;param name="operationMode"&gt;STORE&lt;/param&gt;
      &lt;/interceptor-ref&gt;
  &lt;/interceptor-stack&gt;
  
  &lt;interceptor-stack name="retrieveStack"&gt;
      &lt;interceptor-ref name="defaultStack" /&gt;
      &lt;interceptor-ref name="store"&gt;
          &lt;param name="operationMode"&gt;RETRIEVE&lt;/param&gt;
      &lt;/interceptor-ref&gt;
  &lt;/interceptor-stack&gt;
  
  &lt;action name="hierarchySaveMap" method="updateHierarchyMap"
      class="com.cotyww.bru.web.action.master.HierarchyUpdateAction"&gt;
      &lt;interceptor-ref name="storeStack" /&gt;
      &lt;result name="success" type="redirectAction"&gt;
          &lt;param name="actionName"&gt;hierUpdateMDA&lt;/param&gt;
          &lt;param name="parse"&gt;true&lt;/param&gt;
      &lt;/result&gt;
      &lt;result name="input" type="tiles"&gt;hierarchyUpdate{1}&lt;/result&gt;
      &lt;result name="error" type="tiles"&gt;hierarchyUpdate{1}&lt;/result&gt;
  &lt;/action&gt;
  </code></pre>
  
  <p>Is there a way to send the parameters to next action dynamically without hardcoding in struts.xml?</p>