title: Java, Spring Internationalization(I18N) not working
body: <p>I am trying to change my spring projects language with I18N.</p>
  
  <p>my configuration for I18N in spring-servlet.xml:</p>
  
  <pre><code>&lt;bean id="messageSource"
      class="org.springframework.context.support.ReloadableResourceBundleMessageSource"&gt;
      &lt;property name="basename" value="classpath:messages" /&gt;
      &lt;property name="defaultEncoding" value="UTF-8"/&gt;
  &lt;/bean&gt;
  
  &lt;bean id="localeChangeInterceptor"
      class="org.springframework.web.servlet.i18n.LocaleChangeInterceptor"&gt;
      &lt;property name="paramName" value="lang" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="localeResolver"
      class="org.springframework.web.servlet.i18n.CookieLocaleResolver"&gt;
      &lt;property name="defaultLocale" value="en"/&gt;
  &lt;/bean&gt;
  
  &lt;bean id="handlerMapping"
      class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"&gt;
      &lt;property name="interceptors"&gt;
          &lt;ref bean="localeChangeInterceptor" /&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>so now I have 2 properties files named:</p>
  
  <ol>
  <li>messages_en.properties</li>
  <li>messages_ee.properties</li>
  </ol>
  
  <p><strong>They are in my war/WEB-INF/resources folder</strong></p>
  
  <p>This is part of my JSP file(<strong>when i remove it, everything works</strong>):</p>
  
  <pre><code>&lt;h3&gt;&lt;spring:message code="label.title" /&gt;&lt;/h3&gt;
  </code></pre>
  
  <p>This is my messages_ee.properties file:</p>
  
  <pre><code>label.firstname=Eesnimi
  label.lastname=Perekonnanimi
  label.email=Email
  label.telephone=Telefon
  label.addcontact=Lisa kontakt
  
  label.menu=Menuu
  label.title=Kontaktihaldur
  </code></pre>
  
  <p><strong>You can clearly see, that I have label.title for locale 'ee'. What could be problem, that it does not recognize it. Or furthermore, maybe it does not even find the file?</strong></p>
  
  <p>It can not find label.title for locale 'ee', WHY?</p>
  
  <p>When I try to browse on certain web, it says it does not find anything in the properties file with this error:</p>
  
  <pre><code>HTTP Status 500 -
  
  type Exception report
  
  message
  
  description The server encountered an internal error () that prevented it from fulfilling this request.
  
  exception
  
  org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 1
  
  1: &lt;jsp:forward page="contact.html"&gt;&lt;/jsp:forward&gt;
  
  
  Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:567)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  root cause
  
  org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.tiles.impl.CannotRenderException: ServletException including path '/WEB-INF/jsp/layout.jsp'.
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  root cause
  
  org.apache.tiles.impl.CannotRenderException: ServletException including path '/WEB-INF/jsp/layout.jsp'.
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:692)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
      org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:124)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  root cause
  
  org.apache.tiles.util.TilesIOException: ServletException including path '/WEB-INF/jsp/layout.jsp'.
      org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:241)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:243)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:222)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:690)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
      org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:124)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  root cause
  
  org.apache.tiles.util.TilesIOException: JSPException including path '/WEB-INF/jsp/header.jsp'.
      org.apache.tiles.servlet.context.ServletUtil.wrapServletException(ServletUtil.java:241)
      org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:105)
      org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.renderer.impl.ChainedDelegateAttributeRenderer.write(ChainedDelegateAttributeRenderer.java:76)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:336)
      org.apache.tiles.template.InsertAttributeModel.renderAttribute(InsertAttributeModel.java:210)
      org.apache.tiles.template.InsertAttributeModel.end(InsertAttributeModel.java:126)
      org.apache.tiles.jsp.taglib.InsertAttributeTag.doTag(InsertAttributeTag.java:311)
      org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspx_meth_tiles_005finsertAttribute_005f1(layout_jsp.java:142)
      org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspService(layout_jsp.java:78)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:241)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:222)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:690)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
      org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:124)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  root cause
  
  javax.servlet.ServletException: javax.servlet.jsp.JspTagException: No message found under code 'label.title' for locale 'ee'.
      org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
      org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
      org.apache.jsp.WEB_002dINF.jsp.header_jsp._jspService(header_jsp.java:83)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:927)
      org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:684)
      org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:678)
      org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:103)
      org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.renderer.impl.ChainedDelegateAttributeRenderer.write(ChainedDelegateAttributeRenderer.java:76)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:336)
      org.apache.tiles.template.InsertAttributeModel.renderAttribute(InsertAttributeModel.java:210)
      org.apache.tiles.template.InsertAttributeModel.end(InsertAttributeModel.java:126)
      org.apache.tiles.jsp.taglib.InsertAttributeTag.doTag(InsertAttributeTag.java:311)
      org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspx_meth_tiles_005finsertAttribute_005f1(layout_jsp.java:142)
      org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspService(layout_jsp.java:78)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:241)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:222)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:690)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
      org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:124)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  root cause
  
  javax.servlet.jsp.JspTagException: No message found under code 'label.title' for locale 'ee'.
      org.springframework.web.servlet.tags.MessageTag.doStartTagInternal(MessageTag.java:184)
      org.springframework.web.servlet.tags.RequestContextAwareTag.doStartTag(RequestContextAwareTag.java:79)
      org.apache.jsp.WEB_002dINF.jsp.header_jsp._jspx_meth_spring_005fmessage_005f0(header_jsp.java:102)
      org.apache.jsp.WEB_002dINF.jsp.header_jsp._jspService(header_jsp.java:69)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:927)
      org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:684)
      org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:678)
      org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:103)
      org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:96)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.renderer.impl.ChainedDelegateAttributeRenderer.write(ChainedDelegateAttributeRenderer.java:76)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:336)
      org.apache.tiles.template.InsertAttributeModel.renderAttribute(InsertAttributeModel.java:210)
      org.apache.tiles.template.InsertAttributeModel.end(InsertAttributeModel.java:126)
      org.apache.tiles.jsp.taglib.InsertAttributeTag.doTag(InsertAttributeTag.java:311)
      org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspx_meth_tiles_005finsertAttribute_005f1(layout_jsp.java:142)
      org.apache.jsp.WEB_002dINF.jsp.layout_jsp._jspService(layout_jsp.java:78)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:241)
      org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:222)
      org.apache.tiles.renderer.impl.TemplateAttributeRenderer.write(TemplateAttributeRenderer.java:44)
      org.apache.tiles.renderer.impl.AbstractBaseAttributeRenderer.render(AbstractBaseAttributeRenderer.java:106)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:670)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:690)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:644)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:627)
      org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:321)
      org.springframework.web.servlet.view.tiles2.TilesView.renderMergedOutputModel(TilesView.java:124)
      org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:250)
      org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1047)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:817)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:745)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:716)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:63)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  note The full stack trace of the root cause is available in the Apache Tomcat/7.0.20 logs.
  
  Apache Tomcat/7.0.20
  </code></pre>
  
  <p>I tried to give as much information as possible and go into details. Feel free to ask further info/code.</p>