title: Can jstl check if attribute has been added to the model?
body: <p>Is it possible to check if an attribute has been added to the model?</p>
  
  <pre><code>//in the controller teh variable is not always added
  //
  model.addAttribute("variable", myVariable);
  </code></pre>
  
  <p>and in the jsp something like this</p>
  
  <pre><code>&lt;c:choose&gt;
      &lt;c:when test="${variable is present}"&gt;
          Not present
      &lt;/c:when&gt;
      &lt;c:otherwise&gt;
          Present
      &lt;/c:otherwise&gt;
  &lt;/c:choose&gt;
  </code></pre>
  
  <p>Thanks</p>