title: Issue tiles (Could not resolve view with name...)
body: <p>I am working with Spring MVC. My application was ok before inserting tiles, now I keep receiving the error message as:</p>
  
  <pre><code>javax.servlet.ServletException: Could not resolve view with name '/sisStudent' in servlet with name 'mvc-dispatcher'
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1190)
      org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:992)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:939)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
      org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  </code></pre>
  
  <p>My tiles.xml is:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
  &lt;!DOCTYPE tiles-definitions PUBLIC 
  "-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN" 
  "http://tiles.apache.org/dtds/tiles-config_3_0.dtd"&gt;
  &lt;tiles-definitions&gt;
      &lt;definition name="base.definition" template="/WEB-INF/jsp/layout.jsp"&gt;
          &lt;put-attribute name="title" value="" /&gt;
          &lt;put-attribute name="header" value="/WEB-INF/jsps/header.jsp" /&gt;
          &lt;put-attribute name="menu" value="/WEB-INF/jsps/menu.jsp" /&gt;
          &lt;put-attribute name="body" value="" /&gt;
          &lt;!-- put-attribute name="footer" value="/WEB-INF/jsps/footer.jsp" /&gt; --&gt;
      &lt;/definition&gt;
      &lt;definition name="sisStudent" extends="base.definition"&gt;
          &lt;put-attribute name="title" value="SIS Students" /&gt;
          &lt;put-attribute name="body" value="/WEB-INF/jsps/sisStudent.jsp" /&gt;
      &lt;/definition&gt;
  &lt;/tiles-definitions&gt;
  </code></pre>
  
  <p>My spring-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="au.edu.nsw.det.tls.tar.sis.controller" /&gt;
      &lt;!--
          bean id="tilesViewResolver"
          class="org.springframework.web.servlet.view.UrlBasedViewResolver"&gt;
          property name="prefix"&gt; &lt;value&gt;/WEB-INF/jsps/&lt;/value&gt; &lt;/property&gt;
          &lt;property name="suffix"&gt; &lt;value&gt;.jsp&lt;/value&gt; &lt;/property&gt; &lt;property
          name="viewClass"&gt; &lt;value&gt;
          org.springframework.web.servlet.view.tiles3.TilesView&lt;/value&gt;
          &lt;/property&gt; &lt;/bean&gt;
      --&gt;
      &lt;!-- bean
          class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;property name="prefix"&gt;
              &lt;value&gt;/WEB-INF/jsps/&lt;/value&gt;
          &lt;/property&gt;
          &lt;property name="suffix"&gt;
              &lt;value&gt;.jsp&lt;/value&gt;
          &lt;/property&gt;
      &lt;/bean --&gt;
      &lt;bean id="viewResolver"
          class="org.springframework.web.servlet.view.UrlBasedViewResolver"&gt;
          &lt;property name="viewClass"&gt;
              &lt;value&gt; org.springframework.web.servlet.view.tiles3.TilesView&lt;/value&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
      &lt;bean id="tilesConfigurer"
          class="org.springframework.web.servlet.view.tiles3.TilesConfigurer"&gt;
          &lt;property name="definitions"&gt;
              &lt;list&gt;
                  &lt;value&gt;/WEB-INF/tiles.xml&lt;/value&gt;
              &lt;/list&gt;
          &lt;/property&gt;
      &lt;/bean&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>My controller is:</p>
  
  <pre><code>@Controller
  // @RequestMapping("/studentSearch")
  public class StudentSearchController {
  
      @Autowired
      StudentService studentService;
  
      // @RequestMapping(value="/StudentSearchById", method = RequestMethod.GET)
      // public ModelAndView searchById(@PathVariable Long studentId) {
  
      @RequestMapping (value="/openStudentSearchScreen", method = RequestMethod.GET)
      public ModelAndView openCourseSearchScreen(){       
          ModelAndView modelAndView = new ModelAndView("/sisStudent");        
          return modelAndView;
      }
  
  }
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thank you in advance!</p>