title: Calling a spring mvc controller method from another controller method based on url
body: <p>I am new to this forum and have searched for my problem and although similar problems are mentioned but not the one that I am looking for. So here goes.</p>
  
  <p>I have a payment popup in my application that can be called from any page of application and once user submits his payment details on popup, the browser redirects to paypal site and do some checks and return to my application after user confirmation.</p>
  
  <p>Now in this callback method I need to forward the request to the original page which called the popup. </p>
  
  <p>So now I have the app url in my callback method but can't seem to forward the request to it. </p>
  
  <p>Example like below:</p>
  
  <pre><code>mv = new ModelAndView("forward:/secure/music/index");
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>return "forward:/secure/music/index";
  </code></pre>
  
  <p>If I replace forward: with redirect: it works fine but I need to forward it, not redirect it (and hence initiate another request).</p>