title: how to put parameters on url in spring mvc result page?
body: <p>I have a very simple spring mvc project:  </p>
  
  <pre><code>@Controller
  @RequestMapping("/form.htm")
  public class FormController {
  
      FormValidation formValidation;
  
      @Autowired
      public FormController(FormValidation formValidation) {
          this.formValidation = formValidation;
      }
  
      @RequestMapping(method = RequestMethod.GET)
      public String initForm(ModelMap model) {
          QueryForm queryForm = new QueryForm();
          model.addAttribute("queryForm", queryForm);
          return "queryForm";
      }
  
      @RequestMapping(method = RequestMethod.POST)
      public String submitForm(ModelMap model, @ModelAttribute("queryForm")QueryForm queryForm,
                               BindingResult result) {
                 List&lt;String&gt; Result = query(queryForm);
              SuccessForm successForm = new SuccessForm();
              successForm.setId(queryForm.getId());
              model.addAttribute("successForm", successForm);
              return "successForm";
  
      }
      private List&lt;String&gt; query(QueryForm queryForm) {
      }
  }
  </code></pre>
  
  <p>success.jsp:  </p>
  
  <pre><code>&lt;head&gt;
      &lt;title&gt;deviceInfo display&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h1&gt;Id is ${successForm.Id}.&lt;/h1&gt;
  &lt;br&gt;
          &lt;c:forEach var="info" items="${successForm.Info}" &gt;
                  &lt;p style="font-size:120%"&gt;&lt;c:out value="${info}" /&gt;&lt;/p&gt;
                      &lt;hr /&gt;
          &lt;/c:forEach&gt;
  &lt;br&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>query.jsp:  </p>
  
  <pre><code>&lt;head&gt;
      &lt;meta charset="utf-8"&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="main"&gt;
      &lt;form class="form" id="queryForm" method="POST" command="queryForm"&gt;
          &lt;fieldset&gt;
              &lt;legend&gt;Please fill in the form&lt;/legend&gt;
              &lt;p&gt;
                  &lt;label for="Id" class="sr-only"&gt;Id&lt;/label&gt;
                  &lt;input type="text" name="Id" id="Id" class="form-control" placeholder="Id"&gt;
              &lt;/p&gt;
              &lt;p&gt;
                  &lt;button class="btn btn-lg btn-primary btn-block" type="submit"&gt;Submit&lt;/button&gt;
              &lt;/p&gt;
          &lt;/fieldset&gt;
      &lt;/form&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>in this way, the url of the success.jsp page is the same with the query.jsp :<a href="http://localhost:8080/project/form.htm" rel="nofollow">http://localhost:8080/project/form.htm</a>. I need to add some parameters on the query.jsp, like: <a href="http://localhost:8080/project/form.htm?Id=xxx" rel="nofollow">http://localhost:8080/project/form.htm?Id=xxx</a>, so the success page can be sent to others with result existing, how can I do that? thanks.<br>
  spring mvc version: <strong>2.5.6</strong></p>