title: spring 3.0 + tiles 2.1 problem in redirection
body: <p>I'm having a problem trying to get it up . In index.jsp ( where the app starts) I have ...</p>
  
  <pre><code>&lt;jsp:forward page="hello.do"&gt;&lt;/jsp:forward&gt;
  </code></pre>
  
  <p>Then, in web.xml I have defined the servlet dispatcher :</p>
  
  <pre><code>&lt;!-- Servlet para levantar el dispatcher servlet de spring MVC --&gt;
  &lt;servlet&gt;
      &lt;servlet-name&gt;dispatcher&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;dispatcher&lt;/servlet-name&gt;
      &lt;url-pattern&gt;*.do&lt;/url-pattern&gt;
  &lt;/servlet-mapping&gt;
  </code></pre>
  
  <p>So, everything that ends with .do, should be taken by the controller . That works . The controller defined is :</p>
  
  <pre><code>@Controller
  @RequestMapping("/hello")
  public class HelloWorldController {
      @RequestMapping(method=RequestMethod.GET)
      public String procesar(HttpServletRequest request,ModelMap modelo){
          System.out.println("todo jodidamente correcto");
          String mensaje = "Hola, perras";
  
          modelo.addAttribute("message",mensaje);
  
          return "hello";
      }
  }
  </code></pre>
  
  <p>I can see the message, but it fails when it gets to -- return "hello" -- , that I still have the same exception :</p>
  
  <pre>javax.servlet.ServletException: Could not resolve view with name 'hello' in servlet with name 'dispatcher'
  org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1013)
  org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:815)
  org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:717)
  org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:644)
  org.springframework.web.servlet.FrameworkServlet.d oGet(FrameworkServlet.java:549)
  javax.servlet.http.HttpServlet.service(HttpServlet .java:617)
  javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
  </pre>
  
  <p>my tile definition is :</p>
  
  <pre><code>&lt;tiles-definitions&gt;
      &lt;definition name="topfisio.layout" template="/layouts/three-layer.jsp"&gt;
          &lt;put-attribute name="title" value="Top fisio" /&gt;
          &lt;put-attribute name="header" value="/jsp/header.jsp" /&gt;
          &lt;put-attribute name="footer" value="/jsp/footer.jsp" /&gt;
      &lt;/definition&gt;
  
  
      &lt;definition name="*" extends="topfisio.layout"&gt;
          &lt;put-attribute name="title" value="{1}" /&gt;
          &lt;put-attribute name="content" value="/jsp/{1}.jsp"/&gt;
      &lt;/definition&gt;
  &lt;/tiles-definitions&gt;
  </code></pre>
  
  <p>and my file structure is :</p>
  
  <pre>index.jsp
  
  WEB-INF
  WEB-INF -- dispatcher-servlet.xml
  WEB-INF -- tiles-def.xml
  WEB-INF -- web.xml
  layouts
  layouts -- three-layer.jsp
  jsp
  jsp -- footer.jsp
  jsp -- header.jsp
  jsp -- hello.jsp
  </pre>
  
  <p>I may have a problem with tiles definitions , but I still cant find it</p>