title: include a JSP file in another with cases
body: <p>How can i include a JSP page in another JSP with the IF structure:</p>
  
  <p>Can i use this part of code in a JSP file:</p>
  
  <pre><code>&lt;%
          UtilisateurAction useraction = new UtilisateurAction();
          String statut = useraction.Connect();
          //System.out.println(statut);
  
          if(statut=="ADMIN"){
        %&gt;    &lt;%@ include file="menu.jsp"%&gt;
  
         &lt;%} 
  
          else {if(statut=="USER"){%&gt;
              &lt;%@ include file="menu.jsp"%&gt;
  
  
          &lt;%}} %&gt; 
  </code></pre>