title: JSLT error in <c:if></c:if>
body: <p>I want to use my session variable to display the name of user in each JSP page using JSTL. I already import the JSLT librarie in my netbeans project by i have an error in compilation.</p>
  
  <p>My code :</p>
  
  <pre><code>&lt;%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %&gt;    
  &lt;div class="container"&gt;
      &lt;div class="panel panel-default"&gt;
          &lt;c:if test = "${ !empty sessionScope.prenom &amp;&amp; !empty sessionScope.nom }"&gt;
              &lt;div class="panel-heading"&gt;Bienvenu ${sessionScope.prenom} ${sessionScope.nom} !&lt;/div&gt;
          &lt;/c:if&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I got this error :</p>
  
  <blockquote>
    <p>According to TLD or attribute directive in tag file, attribute test doesn't accept any expressions</p>
  </blockquote>
  
  <p>What can i do to resolve it ?</p>