title: Load velocity view
body: <p>I have problem when using Velocity. I got this error when access "/my-website/login" link:</p>
  
  <pre><code>2014-04-07 16:50:48,900 16:50:48.900 [http-bio-8181-exec-3] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/my-website/WEB-INF/views/_layouts/login.vm] in DispatcherServlet with name 'dispatcher'
  </code></pre>
  
  <p>My <code>LoginController.java</code> is</p>
  
  <pre><code>@RequestMapping(value = "/login", method = RequestMethod.GET)
  public ModelAndView index(HttpServletRequest request) {
      ModelAndView model = new ModelAndView();
      model.setViewName("_layouts/login");
      return model;
  }
  </code></pre>
  
  <p>My web.xml is here</p>
  
  <pre><code>    ...
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;
          &lt;url-pattern&gt;*.vm&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;default&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/themes/*&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
      ...
  </code></pre>
  
  <p>and the dispatcher.xml is</p>
  
  <pre><code>&lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
      &lt;property name="prefix"&gt;
          &lt;value&gt;/WEB-INF/views/&lt;/value&gt;
      &lt;/property&gt;
      &lt;property name="suffix"&gt;
          &lt;value&gt;.vm&lt;/value&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>So, what is problem? Please help me!</p>