title: Spring MVC PRG, passing values to other operation
body: <p>I want to pass values to the redirected operation. i.e in my below code I want to pass userResult value to the method welcome, how can I pass it? </p>
  
  <pre><code>        String userResult = getUserDetails(url);
          System.out.println("Result--&gt;"+userResult);
          if(userResult.contains("&lt;user&gt;")){
              return "redirect:welcome";
          }
  </code></pre>
  
  <p>redirected code:</p>
  
  <pre><code>@RequestMapping(value = "/welcome")
      public String welcome(Model model){
          Element element = getOutputDetails(userResult);// get userResult values  here
  </code></pre>