title: No mapping found for HTTP request with URI in DispatcherServlet with name 'dispatcher'
body: <p>I'm new to Spring framework. I just started implementing multiaction controller in netbeans. But. I'm getting the above error. I'm pasting my code below. Plz take a look into it and resolve me the issue. </p>
  
  <p>dispatcher-servlet.xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:p="http://www.springframework.org/schema/p"
     xmlns:aop="http://www.springframework.org/schema/aop"
     xmlns:tx="http://www.springframework.org/schema/tx"
     xsi:schemaLocation="http://www.springframework.org/schema/beans           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd"&gt;
  
      &lt;bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"/&gt;
  
      &lt;bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&gt;
          &lt;property name="mappings"&gt;
              &lt;props&gt;
                  &lt;prop key="index.htm"&gt;indexController&lt;/prop&gt;
              &lt;/props&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  
      &lt;bean id="viewResolver"
            class="org.springframework.web.servlet.view.InternalResourceViewResolver"
            p:prefix="/WEB-INF/jsp/"
            p:suffix=".jsp" /&gt;
  
      &lt;bean name="indexController"
            class="org.springframework.web.servlet.mvc.ParameterizableViewController"
            p:viewName="index" /&gt;
      &lt;bean name="/*.htm" class="controller.MyController"/&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>index.jsp: </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
      &lt;title&gt;Hello&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
      &lt;h4&gt;Multi Action Controller Example&lt;/h4&gt;
      &lt;a href="add.htm"&gt;Add&lt;/a&gt;
      &lt;a href="update.htm"&gt;Update&lt;/a&gt;
      &lt;a href="remove.htm"&gt;Remove&lt;/a&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>MyController.java: </p>
  
  <pre><code>package controller; 
  
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  import org.springframework.web.servlet.ModelAndView;
  import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
  
  public class MyController extends MultiActionController {
  
      public ModelAndView add(HttpServletRequest req, HttpServletResponse resp) throws      Exception {
          System.out.println("Add ma");
          return new ModelAndView("result","message","Add Method Called");
      }
  
      public ModelAndView update(HttpServletRequest req, HttpServletResponse resp) throws Exception {
          System.out.println("Update ma");
          return new ModelAndView("result","message","Update Method Called");
      }
  
      public ModelAndView remove(HttpServletRequest req, HttpServletResponse resp) throws Exception {
          System.out.println("Remove ma");
          return new ModelAndView("result","message","Remove Method Called");
      }
  }
  </code></pre>
  
  <p>result.jsp: </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
      &lt;title&gt;Nee Varaatha&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h1&gt;Please Show it &lt;/h1&gt;
      ${message}
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>