title: Spring cannot resolve view within servlet
body: <p>I've added a new method/mapping to one of my servlets:</p>
  
  <pre><code>@RequestMapping(value = "/user/prefs/order", method = RequestMethod.POST)
  public void updateUsersPrefs(@RequestBody Map&lt;String, ArrayList&gt; body, HttpServletRequest request) {
      ...
  }
  </code></pre>
  
  <p>but when I send a request to this url I get a 500 Internal Server Error, with the following error message:</p>
  
  <pre><code>javax.servlet.ServletException: Could not resolve view with name 'user/prefs/order' in servlet with name 'appfinder'
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1029)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  </code></pre>
  
  <p>I cannot for the life of me see why this is being reported.  Can anyone help with this?  I there is anymore information that I could provide, please let me know.</p>
  
  <p>Thanks!</p>