title: getting stack overflow during return page from spring mvc controller
body: <p>I have spring mvc controller, contain method like</p>
  
  <pre><code>@requestmapping("jsps/welcome.jsp")
  public String handleRequest(){
  system.out.println("inside the handler");
  return "welcome";}
  </code></pre>
  
  <p>when I am trying to run the welcome.jsp page, I am getting stack overflow, it seems like the page is going to the controller then the controller return the page then it will go again and so on.</p>
  
  <p>my configuration for spring is</p>
  
  <pre><code>&lt;bean id="viewResolver"
  class="------"
  &lt;property name="prefix"&gt;
  &lt;value&gt; /jsps/ &lt;/value&gt;
  &lt;/property&gt;
  &lt;property name="suffix"&gt;
  &lt;value&gt; .jsp &lt;/value&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>and the urlmapping </p>
  
  <pre><code>&lt;map&gt;
  &lt;entry key="jsps/welcome.jsp"&gt;
  &lt;ref bean="mycontroller"/&gt;
  </code></pre>