title: Controller not redirecting to my jsp
body: <p>I've been reading other posts for hours related to this subject.
  I will explain how it goes:</p>
  
  <p>I Access recuperar.jsp, it is just 1 form to set the user's e-mail to recover password. It calls my LoginController.java - method (processaSenha).</p>
  
  <p>At processaSenha method, I just send an email to the user with another JSP to be opened and set the new password. Here, my redirect does not work. I would like to redirect to confirmaregeracaosenha.jsp, this page just shows a message saying "ok, we sent you the email".</p>
  
  <p>I created the get method for the pages, I did what I have been doing in many other controllers I have in my app. </p>
  
  <p>LoginController:</p>
  
  <pre><code>package br.com.kolss.boxml.controller;
  
  import javax.servlet.http.HttpServletRequest;
  import javax.servlet.http.HttpServletResponse;
  
  import org.apache.log4j.Logger;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.RequestBody;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  import org.springframework.web.bind.annotation.ResponseBody;
  import org.springframework.web.servlet.ModelAndView;
  
  import br.com.kolss.boxml.dto.RegeraSenhaDTO;
  import br.com.kolss.boxml.entidades.Usuario;
  import br.com.kolss.boxml.service.ContatoService;
  import br.com.kolss.boxml.service.LoginService;
  import br.com.kolss.boxml.service.UsuarioService;
  import br.com.kolss.boxml.util.Util;
  
  @Controller
  public class LoginController {
  
  @Autowired
  protected LoginService loginService;
  
  @Autowired
  protected ContatoService contatoService;
  
  @Autowired
  private UsuarioService usuarioService;
  
  protected Logger logger = Logger.getLogger(getClass());
  
  @RequestMapping(value="/login",method=RequestMethod.GET)
  public ModelAndView login() {
  
      logger.debug("LoginController.login");      
  
      return new ModelAndView("login");
  }
  
  @RequestMapping(value="/primeiroacesso",method=RequestMethod.GET)
  public ModelAndView primeiroacesso() {
  
      logger.debug("LoginController.primeiroacesso");
  
      return new ModelAndView("primeiroacesso");
  }
  
  @RequestMapping(value="/recuperar",method=RequestMethod.GET)
  public ModelAndView recuperarSenha() {
  
      logger.debug("LoginController.recuperar");
  
      return new ModelAndView("recuperar");
  }
  
  @RequestMapping(value="/regeraSenha", method=RequestMethod.POST,produces={"application/json"})
  public ModelAndView processaSenha(@RequestBody RegeraSenhaDTO regeraSenhaDTO, HttpServletRequest request, HttpServletResponse response) throws Exception{   
  
      logger.debug("LoginController.regeraSenha"); 
      StringBuffer fullURI = request.getRequestURL();
      String pathDoUriDeEnvioParaOEmail = fullURI.toString().split("/")[2];
      loginService.regeraSenhaDoUsuario(regeraSenhaDTO.getEmail(), "", pathDoUriDeEnvioParaOEmail);
      return new ModelAndView("redirect:/confirmacaoEmailSenha");     
  
  }   
  
  @RequestMapping(value="/confirmacaoEmailSenha",method=RequestMethod.GET)
  public ModelAndView regeracao() {
  
      logger.debug("LoginController.confirmacaoEmailSenha");
  
      return new ModelAndView("confirmacaoEmailSenha");
  }
  
  @RequestMapping(value="/confirmacaoNovaSenha",method=RequestMethod.GET)
  public ModelAndView confirmacaoNovaSenha() {
  
      logger.debug("LoginController.confirmacaoNovaSenha");
  
      return new ModelAndView("confirmacaoNovaSenha");
  }
  
  
  @RequestMapping(value="/login/salvar", method=RequestMethod.POST,produces={"application/json"})
  public @ResponseBody ModelAndView salvaSenhaPrimeiroAcesso(@RequestBody RegeraSenhaDTO regeraSenhaDTO){ 
  
      final Usuario usuario = usuarioService.obterUsuarioPorEmail(regeraSenhaDTO.getEmail()); 
      if(regeraSenhaDTO.getNovaSenha().equals(regeraSenhaDTO.getConfirmaSenha())){
          String cryptPassword = Util.criptografarSenha(regeraSenhaDTO.getNovaSenha());
          usuario.setSenha(cryptPassword);            
          loginService.insereNovaSenha(usuario);  
      }           
  
      return new ModelAndView("login");
  
      }
  
  }
  </code></pre>
  
  <p>Tiles:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&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="defaultTemplate" template="/restrict/template/default/template.jsp"&gt;
      &lt;put-attribute name="header" value="/restrict/template/default/header.jsp" /&gt;
      &lt;put-attribute name="menu" value="/restrict/template/default/menu.jsp" /&gt;
      &lt;put-attribute name="body" value="/restrict/template/default/body.jsp" /&gt;
      &lt;put-attribute name="footer" value="/restrict/template/default/footer.jsp" /&gt;
  &lt;/definition&gt;
  
  &lt;definition name="homePrimeiroAcesso" template="/primeiroacesso.jsp"/&gt;
  &lt;definition name="homeTemplate" template="/restrict/template/home/home.jsp"/&gt;
  &lt;definition name="homeContato" template="/restrict/template/home/contato.jsp"/&gt;
  &lt;definition name="homeLogin" template="/login.jsp"/&gt;    
  &lt;definition name="homeRecuperaSenha" template="/restrict/template/home/recuperar.jsp"/&gt;  
  &lt;definition name="homeNoticiaUm" template="/restrict/template/home/noticia-1.jsp"/&gt;
  &lt;definition name="homeNoticiaDois" template="/restrict/template/home/noticia-2.jsp"/&gt;
  &lt;definition name="homeNoticiaTres" template="/restrict/template/home/noticia-3.jsp"/&gt;
  &lt;definition name="homeNoticiaQuatro" template="/restrict/template/home/noticia-4.jsp"/&gt;
  &lt;definition name="homeNoticiaCinco" template="/restrict/template/home/noticia-5.jsp"/&gt;
  &lt;definition name="homeNoticias" template="/restrict/template/home/noticias.jsp"/&gt;
  &lt;definition name="homeConfirmacaoEmailSenha" template="/confirmaregeracaosenha.jsp"/&gt;
  &lt;definition name="homeConfirmacaoNovaSenha" template="/confirmanovasenha.jsp"/&gt;
  
  &lt;definition name="confirmacaoNovaSenha" extends="homeConfirmacaoNovaSenha"/&gt;
  &lt;definition name="confirmacaoEmailSenha" extends="homeConfirmacaoEmailSenha"/&gt;
  &lt;definition name="contato" extends="homeContato"/&gt;
  &lt;definition name="primeiroacesso" extends="homePrimeiroAcesso"/&gt;  
  &lt;definition name="home" extends="homeTemplate"/&gt;    
  &lt;definition name="login" extends="homeLogin"/&gt;
  &lt;definition name="recuperar" extends="homeRecuperaSenha"/&gt;
  &lt;definition name="noticiaUm" extends="homeNoticiaUm"/&gt;
  &lt;definition name="noticiaDois" extends="homeNoticiaDois"/&gt;
  &lt;definition name="noticiaTres" extends="homeNoticiaTres"/&gt;
  &lt;definition name="noticiaQuatro" extends="homeNoticiaQuatro"/&gt;
  &lt;definition name="noticiaCinco" extends="homeNoticiaCinco"/&gt;
  &lt;definition name="noticias" extends="homeNoticias"/&gt;   
  
  &lt;definition name="organizacao" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/organizacao.jsp" /&gt;
  &lt;/definition&gt;
  
  &lt;definition name="cliente" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/cliente.jsp" /&gt;
  &lt;/definition&gt;  
  
  &lt;definition name="cadastrosusuarios" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/cadastrosusuarios.jsp" /&gt;
  &lt;/definition&gt;
  
  &lt;definition name="tipoxml" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/tipoxml.jsp" /&gt;
  &lt;/definition&gt;
  
  &lt;definition name="statusnfecte" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/statusnfecte.jsp" /&gt;
  &lt;/definition&gt;   
  
  &lt;definition name="auxiliaresregras" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/auxiliaresregras.jsp" /&gt;
  &lt;/definition&gt;   
  
  &lt;definition name="auxiliaresmenu" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/auxiliaresmenu.jsp" /&gt;
  &lt;/definition&gt;   
  
  &lt;definition name="configuracoesbasicas" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/configuracoesbasicas.jsp" /&gt;
  &lt;/definition&gt;   
  
  &lt;definition name="auxiliaresperfil" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/auxiliaresperfil.jsp" /&gt;
  &lt;/definition&gt;  
  
  &lt;definition name="configuracaodoemail" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/cadastros/configuracaodoemail.jsp" /&gt;
  &lt;/definition&gt; 
  
  &lt;definition name="consultaextrato" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/consultas/consultaextrato.jsp" /&gt;
  &lt;/definition&gt;  
  
  &lt;definition name="monitorxml" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/consultas/monitorxml.jsp" /&gt;
  &lt;/definition&gt; 
  
  &lt;definition name="monitornotas" extends="defaultTemplate"&gt;
      &lt;put-attribute name="body" value="/restrict/view/consultas/monitornotas.jsp" /&gt;
  &lt;/definition&gt; 
  
  
  &lt;/tiles-definitions&gt;
  </code></pre>
  
  <p>recuperar.jsp:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
   &lt;head&gt;
  
    &lt;!-- META CONFIGURATION --&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
    &lt;meta http-equiv="content-language" content="pt-br"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=9"/&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
    &lt;meta name="robots" content="index, follow" /&gt;
    &lt;meta name="description" content="boXml é uma ferramenta desenvolvida pela Kolss especialmente para as empresas que necessitam de uma automatização em armazenamento e organização de XML." /&gt;   
    &lt;meta name="keywords" content="boxml, xml, armazenamento, organização, sistema, kolss" /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- OPEN GRAPH META --&gt;
    &lt;meta property="og:title" content="Armazenamos e organizamos seus XMLs. Faça um teste grátis!"/&gt;
    &lt;meta property="og:image" content="restrict/resources/images/boxml_og.png"/&gt;
    &lt;meta property="og:site_name" content="boXml"/&gt;
    &lt;meta property="og:description" content="Uma ferramenta desenvolvida especialmente para as empresas que necessitam de uma automatização em armazenamento e organização de XML."/&gt;
    &lt;!-- // --&gt; 
  
    &lt;!-- WEB DESIGN &amp; DEVELOPMENT --&gt;
    &lt;meta name="author" content="Brício Fernandes" /&gt;
    &lt;meta name="reply-to" content="bricioweb@gmail.com" /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- FAVICON --&gt;
    &lt;link rel="shortcut icon" href="restrict/resources/images/favicon.ico" type="image/x-icon" /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- TITLE --&gt;
    &lt;title&gt;Recuperar senha | boXml - Solução em Armazenamento de XMLs&lt;/title&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- CSS LIBRARY --&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/foundation/foundation.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/icons/flaticon.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/styles/style.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/simptip.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/introloader/introLoader.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/slick.css" /&gt;
  
    &lt;!-- SCRIPT LIBRARY --&gt;
    &lt;script src="restrict/js/jqueryNovoTemplate/jquery.js"&gt;&lt;/script&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- MODERNIZR - FOUNDATION --&gt;
    &lt;script src="restrict/js/foundation/modernizr.js"&gt;&lt;/script&gt;
    &lt;!-- // --&gt; 
  
   &lt;/head&gt;
  
   &lt;body id="login" ng-controller="RegeraSenhaController" data-ng-app="BoxApp"&gt;
  
    &lt;!-- INTRO LOADER --&gt;
    &lt;div id="intro"&gt;&lt;/div&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- SECTION "CONTACT" --&gt;
    &lt;section id="recuperar" class="section"&gt;
     &lt;div class="row"&gt;
        &lt;div class="small-11 small-centered medium-7 medium-centered large-5 large-centered columns"&gt;
         
         &lt;div class="row"&gt;
          &lt;div class="small-12 medium-12 large-12 columns text-center"&gt;
           &lt;div class="padding-logo"&gt;
            &lt;img src="restrict/resources/images/boxml_logomarca_invert.png" title="boXml - Solução em armazenamento de XMLs" width="133" height="35"/&gt;
           &lt;/div&gt;
          &lt;/div&gt;
         &lt;/div&gt;
        
         &lt;form id="form-recuperar"&gt;
         
         &lt;div class="row"&gt;
          &lt;div class="small-12 medium-12 large-12 columns"&gt;
           &lt;label&gt;Informe seu e-mail:
           &lt;input type="text" name="email" id="email"/&gt;
           &lt;/label&gt;
          &lt;/div&gt;       
         &lt;/div&gt;      
         
         &lt;div class="row" style="padding-top:11px"&gt;      
          &lt;div class="small-12 small-centered medium-12 medium-centered large-12 large-centered columns"&gt;                    
            &lt;input ng-click="regeraSenha()" id="btn" style="width:100%" title="Clique para gerar uma senha" class="submit button expand btn-action btn-green btn-big" type="submit" value="Gerar nova senha" /&gt;
          &lt;/div&gt;     
         &lt;/div&gt;
         
          
        &lt;/form&gt;  
  
         &lt;div class="row"&gt; 
          &lt;div class="small-12 medium-12 large-12 columns text-center"&gt;        
           &lt;div class="login-footer"&gt;
            Lembrou a senha? &lt;a href="login" title="Clique para fazer login"&gt;&lt;b&gt;Faça login&lt;/b&gt;&lt;/a&gt;
           &lt;/div&gt;
          &lt;/div&gt;
         &lt;/div&gt;
        
        
        &lt;/div&gt;
       &lt;/div&gt;
       
     
  
    &lt;/section&gt;
  
   &lt;!-- // --&gt;
   &lt;!-- SCRIPT LIBRARY --&gt;
   &lt;script src="restrict/js/foundation/jquery.js"&gt;&lt;/script&gt;
   &lt;script src="restrict/js/foundation/foundation.min.js"&gt;&lt;/script&gt;
  
   &lt;!-- BEGIN CORE ANGULARJS PLUGINS --&gt;
   &lt;script src="assets/global/plugins/angularjs/angular.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/angular-sanitize.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/angular-touch.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script
    src="assets/global/plugins/angularjs/plugins/angular-ui-router.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/plugins/ocLazyLoad.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script
    src="assets/global/plugins/angularjs/plugins/ui-bootstrap-tpls.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/ngMask.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;!-- END CORE ANGULARJS PLUGINS --&gt;
  
   &lt;script src="restrict/js/app.js" type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="restrict/js/controllers/RegeraSenhaController.js"&gt;&lt;/script&gt;
   &lt;script src="restrict/js/controllers/LoginController.js"&gt;&lt;/script&gt;
   &lt;!-- // --&gt;
  
  
   &lt;script&gt;
    // FOUNDATION LOAD
    $(document).foundation();
   &lt;/script&gt;
  
   &lt;/body&gt;
   
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>confirmaregeracaosenha.jsp</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%&gt;
  &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head&gt;
  
  &lt;!-- META CONFIGURATION --&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
   &lt;meta http-equiv="content-language" content="pt-br"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=9" /&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1.0" /&gt;
    &lt;meta name="robots" content="index, follow" /&gt;
    &lt;meta name="description"
     content="boXml é uma ferramenta desenvolvida pela Kolss especialmente para as empresas que necessitam de uma automatização em armazenamento e organização de XML." /&gt;
    &lt;meta name="keywords"
     content="boxml, xml, armazenamento, organização, sistema, kolss" /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- OPEN GRAPH META --&gt;
    &lt;meta property="og:title"
     content="Armazenamos e organizamos seus XMLs. Faça um teste grátis!" /&gt;
    &lt;meta property="og:image"
     content="restrict/resources/images/boxml_og.png" /&gt;
    &lt;meta property="og:site_name" content="boXml" /&gt;
    &lt;meta property="og:description"
     content="Uma ferramenta desenvolvida especialmente para as empresas que necessitam de uma automatização em armazenamento e organização de XML." /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- // --&gt;
  
    &lt;!-- FAVICON --&gt;
    &lt;link rel="shortcut icon" href="restrict/resources/images/favicon.ico"
     type="image/x-icon" /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- TITLE --&gt;
    &lt;title&gt;Atualizar senha | boXml - Solução em Armazenamento de
     XMLs&lt;/title&gt; &lt;!-- // --&gt;
  
    &lt;!-- CSS LIBRARY --&gt;
    &lt;link rel="stylesheet"
     href="restrict/resources/css/foundation/foundation.css" /&gt;
    &lt;link rel="stylesheet"
     href="restrict/resources/css/icons/flaticon.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/styles/style.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/simptip.css" /&gt;
    &lt;link rel="stylesheet"
     href="restrict/resources/css/introloader/introLoader.css" /&gt;
    &lt;link rel="stylesheet" href="restrict/resources/css/slick.css" /&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- SCRIPT LIBRARY --&gt;
    &lt;script src="restrict/js/jqueryNovoTemplate/jquery.js"&gt;&lt;/script&gt;
    &lt;!-- // --&gt;
  
    &lt;!-- MODERNIZR - FOUNDATION --&gt;
    &lt;script src="restrict/js/foundation/modernizr.js"&gt;&lt;/script&gt;
    &lt;!-- // --&gt;
  &lt;/head&gt;
  
  &lt;body id="login" data-ng-app="BoxApp"&gt;
  
   &lt;!-- INTRO LOADER --&gt;
   &lt;div id="intro"&gt;&lt;/div&gt;
   &lt;!-- // --&gt;
  
   &lt;!-- SECTION "CONTACT" --&gt;
   &lt;section id="login" class="section"&gt;
   &lt;div class="row"&gt;
    &lt;div
     class="small-11 small-centered medium-7 medium-centered large-5 large-centered columns"&gt;
  
     &lt;div class="row"&gt;
      &lt;div class="small-12 medium-12 large-12 columns text-center"&gt;
       &lt;div class="padding-logo"&gt;
        &lt;img src="restrict/resources/images/boxml_logomarca_invert.png"
         title="boXml - Solução em armazenamento de XMLs" width="133"
         height="35" /&gt;
       &lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
  
     &lt;form id="formLogin" method="POST" action=""
      class="ng-pristine ng-valid" name="formLogin" novalidate&gt;
  
      &lt;div class="row"&gt;
       &lt;div class="small-12 medium-12 large-12 columns"&gt;
  
        &lt;label&gt;&lt;center&gt;Um email com as informações
          necessárias para regeração da senha da sua conta foi enviado
          para a conta de e-mail atrelada a aplicação.&lt;/center&gt;&lt;/label&gt; 
        &lt;div id="footer" class="footer" align="center"&gt;&lt;/div&gt;
       &lt;/div&gt;
      &lt;/div&gt;
     &lt;/form&gt;
  
     &lt;div class="row"&gt;
      &lt;div class="small-12 medium-12 large-12 columns text-center"&gt;
       &lt;div class="login-footer clearfix"&gt;
        &lt;span class="left"&gt; &lt;a href="recuperar"
         title="Clique para recuperar sua senha"&gt;&lt;b&gt;Esqueceu a
           senha?&lt;/b&gt;&lt;/a&gt;
        &lt;/span&gt;
        &lt;div class="partner right"&gt;
         &lt;ul&gt;
          &lt;li&gt;&lt;a href="https://www.geotrust.com/" target="_blank"
           title="Secured by GeoTrust"&gt;&lt;img
            src="restrict/resources/images/geotrust.png" width="151"
            height="37" /&gt;&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="https://aws.amazon.com/pt/" target="_blank"
           title="Amazon Web services"&gt;&lt;img
            src="restrict/resources/images/amazon.png" width="126"
            height="47" /&gt;&lt;/a&gt;&lt;/li&gt;
         &lt;/ul&gt;
        &lt;/div&gt;
       &lt;/div&gt;
      &lt;/div&gt;
     &lt;/div&gt;
  
    &lt;/div&gt;
   &lt;/div&gt;
  
  
  
   &lt;/section&gt;
  
  
   &lt;!-- SCRIPT LIBRARY --&gt;
   &lt;script src="restrict/js/foundation/jquery.js"&gt;&lt;/script&gt;
   &lt;script src="restrict/js/foundation/foundation.min.js"&gt;&lt;/script&gt;
  
   &lt;!-- BEGIN CORE ANGULARJS PLUGINS --&gt;
   &lt;script src="assets/global/plugins/angularjs/angular.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/angular-sanitize.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/angular-touch.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script
    src="assets/global/plugins/angularjs/plugins/angular-ui-router.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/plugins/ocLazyLoad.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script
    src="assets/global/plugins/angularjs/plugins/ui-bootstrap-tpls.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;script src="assets/global/plugins/angularjs/ngMask.min.js"
    type="text/javascript"&gt;&lt;/script&gt;
   &lt;!-- END CORE ANGULARJS PLUGINS --&gt;
  
   &lt;script src="restrict/js/app.js" type="text/javascript"&gt;&lt;/script&gt;
  
   &lt;!-- // --&gt;
  
   &lt;script&gt;
    // FOUNDATION LOAD
    $(document).foundation();  
    &lt;/script&gt;
  
  &lt;/body&gt;
  
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </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"
     xmlns:context="http://www.springframework.org/schema/context"
     xmlns:mvc="http://www.springframework.org/schema/mvc"
     xsi:schemaLocation="http://www.springframework.org/schema/beans     http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
     http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.2.xsd
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
     http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd"&gt;
  
  &lt;!--
  &lt;bean  class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
      &lt;property name="prefix"&gt;
          &lt;value&gt;/&lt;/value&gt;
      &lt;/property&gt;
      &lt;property name="suffix"&gt;
          &lt;value&gt;.jsp&lt;/value&gt;
      &lt;/property&gt;
  &lt;/bean&gt;--&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;  
  </code></pre>
  
  <p></p>
  
  <p>ScreenShots:</p>
  
  <p><a href="http://imgur.com/a/4Mffr" rel="nofollow">http://imgur.com/a/4Mffr</a></p>
  
  <p>Thanks in advance</p>