title: Unable to Access Request Parameter in SpringMVC Controller while redirecting to URL
body: <p>I am having a form which submits new articles to my controller.</p>
  
  <p><strong>JSP Page:</strong></p>
  
  <pre><code>&lt;form class="form-signin" method="post"
      action="/articleViewer"&gt;
  &lt;div class="control-group" style="margin-top: -5px;"&gt;
      &lt;label class="control-label text-info" for="commentContent"&gt;&lt;strong&gt;Post
              Comment&lt;/strong&gt;&lt;/label&gt;
      &lt;div class="controls"&gt;
          &lt;textarea class="FormElement" name="area2" id="commentContent"
          style="width: 100%;"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;button type="submit" class="btn btn-primary" style="margin-left: 90%;"&gt;Post&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p><strong>Controller Method:</strong></p>
  
  <pre><code>@RequestMapping(value="/articleViewer", method = RequestMethod.POST)
  public String saveArticleComment (HttpServletRequest request, HttpServletResponse response,Principal principal, ModelMap map) throws ServletException, IOException{
      //processing request
      System.out.println("Link : "+Path.Jsp.ARTICLE_VIEWER_PAGE);
      return Path.Jsp.ARTICLE_VIEWER_PAGE; //this ARTICLE_VIEWER_PAGE = /articleViewer
  }
  </code></pre>
  
  <p>Now from the above controller method I wanna redirect to another method where I want to pass 
  currently saved article id as <code>http://&lt;myurl&gt;/article?articleId="xyz".</code></p>
  
  <p>Here is my get method code for handling the redirect.</p>
  
  <pre><code>@RequestMapping(value="/articleViewer", method= RequestMethod.GET)
  public String articleViewer(HttpServletRequest request, Principal principal,
          ModelMap map, HttpServletResponse response)
          throws DatabaseException {
          //I wanna access article id here.
      return Path.Jsp.ARTICLE_VIEWER_PAGE;
  } 
  </code></pre>
  
  <p>I wanna know how could I access that passed request parameter in above method?</p>