title: Add Query Parameter in action url within action after action is called
body: <p>I am migrating an application from struts1 to struts2. I have a use case here. Struts1 action adds query String in the URL like this:</p>
  
  <pre><code> public String execute() throws Exception {
       ..... some code here.....
       ActionForward inputForward = HttpRedirector.getRedirectToInput(request,
       mapping, "id=" + request.getParameter("id") + "&amp;" + 
       request.getQueryString(), filterForm);
  
       return inputForward;
  
   }
  </code></pre>
  
  <p>when it redirects to input page url is modified like this:</p>
  
  <p><a href="http://localhost:8084/struts2App/board.jsp" rel="nofollow">http://localhost:8084/struts2App/board.jsp</a><strong>?id=1&amp;null</strong></p>
  
  <p>Similarly I have to add Query String in my struts2 action url. Currently my struts2 action url looks like this when i submit the form:</p>
  
  <p>localhost:8084/struts2App/board.action</p>
  
  <p>And I want to modify it, the same way it is done in struts1 like this:</p>
  
  <p><a href="http://localhost:8084/struts2App/board.action" rel="nofollow">http://localhost:8084/struts2App/board.action</a><strong>?id=1&amp;null</strong></p>
  
  <p>Here is the struts2 action mapping</p>
  
  <pre><code>    &lt;action name="board*" class="com.nextjet.web.hud.BoardAction"&gt;
          &lt;result name="success"&gt;/board.jsp&lt;/result&gt;
          &lt;result name="input"&gt;/board.jsp&lt;/result&gt;
      &lt;/action&gt;
  </code></pre>
  
  <p>Can someone tell me how to achieve it.</p>