title: No mapping found for HTTP request with URI [/HelloWeb/WEB-INF/jsp/hello.jsp]
body: <p>I tried to to load a simple example of spring mvc with a simple jsp but failed with the following error: <strong><em>No mapping found for HTTP request with URI [/HelloWeb/WEB-INF/jsp/hello.jsp]</em></strong>
  I'm using Spring 3.2.2.
  I really appreciate your help here. 
  I tried several thing but still it seems that I can not map my jsp page in the controller.</p>
  
  <p><strong>web.xml</strong> looks like that:</p>
  
  <pre><code>&lt;web-app id="WebApp_ID" version="2.4"
                 xmlns="http://java.sun.com/xml/ns/j2ee"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
       http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
  &lt;display-name&gt;Spring MVC Application&lt;/display-name&gt;
  
    &lt;servlet&gt;
      &lt;servlet-name&gt;HelloWeb&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
    &lt;/servlet&gt;
  
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;HelloWeb&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.jsp&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p><strong>HelloWeb-servlet.xml</strong> looks like that:</p>
  
  <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation=" http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
     http://www.springframework.org/schema/context
     http://www.springframework.org/schema/context/spring-context-3.0.xsd"&gt;
  
    &lt;context:component-scan base-package="com.tutorial.spring" /&gt;
  
    &lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
      &lt;property name="prefix" value="/WEB-INF/jsp/" /&gt;
      &lt;property name="suffix" value=".jsp" /&gt;
    &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p><strong>HelloControll.class</strong> looks like that:</p>
  
  <pre><code>package com.tutorial.spring;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.ui.ModelMap;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  
  @Controller
  @RequestMapping("/hello")
  public class HelloController {
    @RequestMapping(method= RequestMethod.GET)
    public String printHello(ModelMap modelMap) {
      modelMap.addAttribute("message", "Hello Spring MVC Framework!");
  
      return "hello";
    }
  }
  </code></pre>