title: ModelMap/ModelAndView data is not displayed
body: <p>I am trying to run spring mvc helloworld example by <a href="http://www.tutorialspoint.com/spring/spring_mvc_hello_world_example.htm" rel="nofollow noreferrer">tutorialspoint</a>.but I am not geeting the modelmap data in jsp page .I had added all the required jars in web-inf/lib folder.I am also using <code>&lt;%@ page contentType="text/html; charset=UTF-8" isELIgnored="false" %&gt;</code> .But still i am not getting data in jsp page. i also view so many answers for this question on stackoverflow and on <a href="http://www.mkyong.com/spring-mvc/modelandviews-model-value-is-not-displayed-in-jsp-via-el/" rel="nofollow noreferrer">http://www.mkyong.com/spring-mvc/modelandviews-model-value-is-not-displayed-in-jsp-via-el/</a> 
  this is my project flow.Please help Thanks in advance</p>
  
  <p>.<img src="https://i.stack.imgur.com/1Cnoq.png" alt="enter image description here">
  And my HelloController is </p>
  
  <pre><code>package com.tutorialspoint;
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  import org.springframework.ui.ModelMap;
  
  @Controller
  @RequestMapping("/hello")
  public class HelloController{
  
     @RequestMapping(method = RequestMethod.GET)
     public String printHello(ModelMap model) {
        model.addAttribute("message", "Hello Spring MVC Framework!");
  
        return "hello";
     }
  
  }
  </code></pre>
  
  <p>web.xml is ::</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;/&lt;/url-pattern&gt;
     &lt;/servlet-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>HelloWeb-servlet.xml is </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.tutorialspoint" /&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>and this is my hello.jsp::</p>
  
  <pre><code>&lt;%@ page contentType="text/html; charset=UTF-8" isELIgnored="false" %&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Hello World&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
   hiiiii &lt;h2&gt;${message}&lt;/h2&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>