title: Spring Boot MVC Include JSP file inside another JSP File
body: <p>I have Spring MVC with spring boot,also I use JSP file for the View.
  I have already use the JSP and JSTL library </p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
          &lt;artifactId&gt;jstl&lt;/artifactId&gt;
      &lt;/dependency&gt;
  
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.tomcat.embed&lt;/groupId&gt;
          &lt;artifactId&gt;tomcat-embed-jasper&lt;/artifactId&gt;
          &lt;scope&gt;provided&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I have no problem with the JSP and JSTL syntax for example </p>
  
  <pre><code>&lt;c:set var="heading" scope="page" value="${0}" /&gt;
  
   &lt;c:forEach var="menuGroup" items="${menuGroups}"&gt;
     &lt;c:if test="${menuGroup.headingId != heading}"&gt;
         &lt;c:if test="${menuGroup.headingIsDisplayed == 1}"&gt;
              &lt;li class="menu-title text-white"&gt;${menuGroup.headingTitle}&lt;/li&gt;
      &lt;/c:if&gt; 
      &lt;c:set var="heading" scope="page" value="${menuGroup.headingId}" /&gt;
  
   &lt;/c:if&gt;
  
      &lt;li class="has_sub"&gt;
       &lt;a href="index.html" class="waves-effect"&gt;
          &lt;i class="ti-home"&gt;&lt;/i&gt;
          &lt;span&gt; ${menuGroup.menuGroupTitle}&lt;/span&gt;
          &lt;span class="pull-right"&gt;&lt;i class="mdi mdi-chevron-right"&gt;&lt;/i&gt; 
     &lt;/span&gt;
      &lt;/a&gt;
  
      &lt;ul class="list-unstyled"&gt;
  
          &lt;c:forEach var="menu" items="${menuGroup.menus}"&gt;
  
              &lt;li&gt;&lt;a href="${menu.menuPath}"&gt;${menu.menuTitle}&lt;/a&gt;&lt;/li&gt;
          &lt;/c:forEach&gt;
  
      &lt;/ul&gt;
    &lt;/li&gt;
  
  
   &lt;/c:forEach&gt;
  </code></pre>
  
  <p>But when I use the JSP Include tag</p>
  
  <pre><code>      &lt;jsp:include page="sidemenu.jsp" flush="true"&gt;&lt;/jsp:include&gt;
  </code></pre>
  
  <p>It's not working!, the content from the sidemenu JSP file is not included in the Page and also there is no error message at all.</p>
  
  <p>Is there any page setting or configuration that I missed?
  Or the  tag Cannot be used in Spring Boot MVC project ??</p>