title: Navigating to a new page of application in PLAY framework
body: <p>I am working with Play framework 1.2.5. I am trying to load (say) page2 on the click of a button from (say) page1.
  On page1 I have a button and I am calling jquery on that button as follows:</p>
  
  <pre><code>$(document).ready(function(){
          $("#next").click(function(){
              alert("reached jquery")
              $.get("/nextpage");
          });
          });
  </code></pre>
  
  <p>According to me the above code should call URL "/nextpage" from my route file and should go to the mapped method. The code for method is:</p>
  
  <pre><code> public static void Nextpage(){
         Logger.info("reached nextpage method");
         render();
     }
  </code></pre>
  
  <p>Now, my problem is that this method is being hit, also the log in this method is getting printed. I am expecting this method to change the browser URL and render a "Nextpage.html" page on browser but nothing like that happens. The page1 stays as it is. Also no errors from Play side. The logs are printed on console and that is all.</p>
  
  <p>Is something wrong with render() because the code is working properly until just above the render().</p>