title: Custom JSP page
body: <p>Based on the user session I have to display different stuff on JSP. </p>
  
  <p>Something is wrong, please advice</p>
  
  <pre><code>  &lt;c:if test="${session.getAttribute("userEmail")}"&gt;
  
          &lt;c:choose&gt;
          &lt;c:when test="Ansari@precise-one.com"&gt; //here if test is not null
          &lt;tr&gt;
              &lt;td colspan="1" width="40%" nowrap="nowrap" style="text-align: left;"&gt;
              &lt;img src="&lt;%=request.getContextPath()%&gt;/images/icons/chevron_double.gif"/&gt;
              &lt;a href="http://www.google.com" class="underlinedLinksLic"&gt;Google&lt;/a&gt;
  
              &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
              &lt;img src="&lt;%=request.getContextPath()%&gt;/images/icons/chevron_double.gif"/&gt;
              &lt;a href="http://www.gmail.com" class="underlinedLinksLic"&gt;Gmail&lt;/a&gt;&lt;/td&gt;  
  
          &lt;/tr&gt;
          &lt;/c:when&gt;
          &lt;c:when test="test@liferay.com"&gt;   //here if session is null
          &lt;tr&gt;Hello&lt;/tr&gt;  
          &lt;/c:when&gt;
  
          &lt;tr height="3px;"&gt;
              &lt;td&gt;&amp;nbsp;&lt;/td&gt;
          &lt;/tr&gt;
  
      &lt;/c:choose&gt; 
  </code></pre>
  
  <p>         </p>